Skip to content

Commit

Permalink
Type ignore L263 of collections/collection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmith023 committed Apr 25, 2024
1 parent 0786c2f commit ea61aff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ disallow_untyped_defs = true
show_error_codes = true
no_implicit_optional = true
warn_return_any = true
warn_unused_ignores = true
exclude = ["weaviate/proto", "docs", "integration_v3"]

[[tool.mypy.overrides]]
Expand Down
4 changes: 3 additions & 1 deletion weaviate/collections/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@ def iterator(
) -> _ObjectIterator[TProperties, TReferences]:
...

def iterator(
# weaviate/collections/collection.py:263: error: Overloaded function implementation does not accept all possible arguments of signature 3 [misc]
# weaviate/collections/collection.py:263: error: Overloaded function implementation cannot produce return type of signature 3 [misc]
def iterator( # type: ignore
self,
include_vector: bool = False,
return_metadata: Optional[METADATA] = None,
Expand Down

0 comments on commit ea61aff

Please sign in to comment.