-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch endpoint not functioning #14
Comments
Hi @jcp-issachar-ai, thank you for filing the issue. We are looking in to this and will get back to you as soon as we can. |
@jcp-issachar-ai We are currently working on a fix for this and will get back to you as soon as that is done. In the meantime, there is a quick workaround you can use: api_response = api_instance.get_batch_data(id, _check_return_type=False) This should give the result your expecting. Hopefully this helps. |
running into this myself as well, more than a year later. workaround seems to work, but 😨 |
Describe the bug
Batch processing for the formula api endpoint does not function as expected. Returns '''Invalid type for variable 'data'. Required value type is dict and passed type was list at ['received_data']['data']''' for a valid batch id as input.
To Reproduce
Steps to reproduce the behavior:
Generate a valid batch id string using formula api.
Wait till batch status is "DONE'
Use provided get_batch_data code or get_batch_data_with_post examples to get data.
Example:
` with fds.sdk.Formula.ApiClient(configuration) as api_client:
Expected behavior
Return a timeseries for the requested batch job.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: