Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Jan 13, 2024
1 parent 1a4563d commit 69aae82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/load/weaviate/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def delete_classes(p, class_list):

def drop_active_pipeline_data() -> None:
def schema_has_classes(client):
if not hasattr(client, "db_client"):
return None
schema = client.db_client.schema.get()
return schema["classes"]

Expand Down

0 comments on commit 69aae82

Please sign in to comment.