Closed mcoirad-gmmb closed 5 years ago
@mcoirad-gmmb Please pass your parameter as a Keyword argument.
- job_status = LineItem.async_stats_job_result(account, job_id)
+ job_status = LineItem.async_stats_job_result(account, job_ids=job_id)
Thank you! I made a PR for the example.
@mcoirad-gmmb Right, we need to update the example. Feel free to open a new PR so we can merge it. Thanks
When I run
In the analytics.py example, I get:
TypeError: async_stats_job_result() takes 2 positional arguments but 3 were given
it seems the function does not accept both arguments. It works when you pass it only the account variable, though, but without the job I'm not sure whats being returned.