Skip to content

fix: use safe_issubclass everywhere #1691

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

Merged
merged 2 commits into from
Jul 10, 2023
Merged

fix: use safe_issubclass everywhere #1691

merged 2 commits into from
Jul 10, 2023

Conversation

JoanFM
Copy link
Member

@JoanFM JoanFM commented Jul 10, 2023

fixes #1690

#1690 fails with an exception that is covered by safe_issubclass. Not sure why we did not completely migrated to using this method, but this PR aims to do so

Signed-off-by: Joan Fontanals Martinez <[email protected]>
Signed-off-by: Joan Fontanals Martinez <[email protected]>
@JoanFM JoanFM force-pushed the fix-is-subclass branch from ef161a7 to cfac5f1 Compare July 10, 2023 12:57
@github-actions
Copy link

📝 Docs are deployed on https://ft-fix-is-subclass--jina-docs.netlify.app 🎉

@JoanFM JoanFM merged commit 62ad22a into main Jul 10, 2023
@JoanFM JoanFM deleted the fix-is-subclass branch July 10, 2023 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Access documents by id will throw an error when setting the BaseDoc field type to "Dict"
2 participants