-
Notifications
You must be signed in to change notification settings - Fork 27
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
pd.DataFrame
breaks JSON schema generation
#28
Comments
Thanks for the bug report. I can reproduce the issue. Be aware there is already a mechanism to capture fields which are not JSON serializable (see warning here in the docs). However, the pandas dataframe dtype currently escapes this safety guard. |
pd.DataFrame
breaks JSON schema generation
@thomas-pedot PR #30 addresses the current issue allowing you to define how Before merging the related PR, it would be great if you could test the bug fix on your site to confirm that my test case did indeed capture the incorrect behavior which you've encountered. To do so, please install the current dev release in your doc-building-environment via pip install |
…a#28 Bug fix json schema #28 (Sourcery refactored)
Closing this issue via #30. Please feel free to reopen for further discussions. |
When using Arbitrary type we cannot serialize to a JSON Schema.
Work
Doesnot work
Following error is raised when building the docs:
ValueError: Value not declarable with JSON Schema, field: name='inputs_DataFrame' type=DataFrame required=True
The text was updated successfully, but these errors were encountered: