Skip to content

Commit

Permalink
Use collections.list_all instead of collections._get_all (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje authored Jul 24, 2024
1 parent eaf36aa commit 282ccc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def client(self):
self._client.connect()

# Test connection, it will raise an exception if it fails.
self._client.collections._get_all(simple=True)
self._client.collections.list_all(simple=True)
if not self._client.collections.exists(self._collection_settings["class"]):
self._client.collections.create_from_dict(self._collection_settings)

Expand Down

0 comments on commit 282ccc4

Please sign in to comment.