Skip to content

fix: use safe_issubclass everywhere#1691

Merged
JoanFM merged 2 commits intomainfrom
fix-is-subclass
Jul 10, 2023
Merged

fix: use safe_issubclass everywhere#1691
JoanFM merged 2 commits intomainfrom
fix-is-subclass

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 <joan.martinez@jina.ai>
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
@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