Skip to content

Commit

Permalink
bug fix un the ulit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBogdan committed Jan 11, 2021
1 parent 1ae74c8 commit 34a4e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weaviate/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ def _is_sub_schema(sub_schema: dict, schema: dict) -> bool:
False otherwise.
"""

schema_classes = schema["objects"].get("classes", [])
sub_schema_classes = sub_schema["objects"].get("classes", [])
schema_classes = schema.get("classes", [])
sub_schema_classes = sub_schema.get("classes", [])
return _compare_class_sets(sub_schema_classes, schema_classes)


Expand Down

0 comments on commit 34a4e1b

Please sign in to comment.