Skip to content

Commit 9b696ab

Browse files
committed
fix more issues
1 parent aa0f59d commit 9b696ab

4 files changed

Lines changed: 4 additions & 17 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ repos:
3232
- id: flake8
3333
name: docstrings
3434
additional_dependencies: [
35-
'flake8-docstrings==1.7.0'
35+
'flake8-docstrings==1.7.0',
36+
'pydoclint==0.6.5',
3637
]
37-
files: '^weaviate/collections'
3838

3939
- repo: local
4040
hooks:

weaviate/client.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -140,25 +140,12 @@ def __init__(
140140
collections = _Collections(self._connection)
141141

142142
self.batch = _BatchClientWrapper(self._connection, config=collections)
143-
"""This namespace contains all the functionality to upload data in batches to Weaviate for all collections and tenants."""
144143
self.backup = _Backup(self._connection)
145-
"""This namespace contains all functionality to backup data."""
146144
self.cluster = _Cluster(self._connection)
147-
"""This namespace contains all functionality to inspect the connected Weaviate cluster."""
148145
self.collections = collections
149-
"""This namespace contains all the functionality to manage Weaviate data collections. It is your main entry point for all collection-related functionality.
150-
151-
Use it to retrieve collection objects using `client.collections.use("MyCollection")` or to create new collections using `client.collections.create("MyCollection", ...)`.
152-
"""
153146
self.debug = _Debug(self._connection)
154-
"""This namespace contains functionality used to debug Weaviate clusters. As such, it is deemed experimental and is subject to change.
155-
156-
We can make no guarantees about the stability of this namespace nor the potential for future breaking changes. Use at your own risk."""
157147
self.roles = _Roles(self._connection)
158-
"""This namespace contains all functionality to manage Weaviate's RBAC functionality."""
159-
160148
self.users = _Users(self._connection)
161-
"""This namespace contains all functionality to manage Weaviate users."""
162149

163150
def __enter__(self) -> "WeaviateClient":
164151
executor.result(self.connect())

weaviate/collections/collection/async_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def iterator(
290290
to request the vector back as well. In addition, if `return_references=None` then none of the references
291291
are returned. Use `wvc.QueryReference` to specify which references to return.
292292
293-
Arguments:
293+
Args:
294294
include_vector: Whether to include the vector in the metadata of the returned objects.
295295
return_metadata: The metadata to return with each object.
296296
return_properties: The properties to return with each object.

weaviate/collections/collection/sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def iterator(
314314
to request the vector back as well. In addition, if `return_references=None` then none of the references
315315
are returned. Use `wvc.QueryReference` to specify which references to return.
316316
317-
Arguments:
317+
Args:
318318
include_vector: Whether to include the vector in the metadata of the returned objects.
319319
return_metadata: The metadata to return with each object.
320320
return_properties: The properties to return with each object.

0 commit comments

Comments
 (0)