We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be6f2b commit 0e13010Copy full SHA for 0e13010
docarray/index/abstract.py
@@ -994,7 +994,7 @@ def _validate_docs(
994
# see schema translation ideas in the design doc
995
names_compatible = reference_names == input_names
996
types_compatible = all(
997
- (issubclass(t2, t1))
+ (safe_issubclass(t2, t1))
998
for (t1, t2) in zip(reference_types, input_types)
999
)
1000
if names_compatible and types_compatible:
0 commit comments