-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WeaviateDocumentStore initialization and serialization #187
Conversation
def filter_documents(self, filters: Optional[Dict[str, Any]] = None) -> List[Document]: # noqa: ARG002 | ||
return [] | ||
|
||
def write_documents( | ||
self, documents: List[Document], policy: DuplicatePolicy = DuplicatePolicy.NONE # noqa: ARG002 | ||
) -> int: | ||
return 0 | ||
|
||
def delete_documents(self, document_ids: List[str]) -> None: # noqa: ARG002 | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARG002
is ignored for the time being to let CI pass. In future PRs they'll be implement and the noqa
removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one question, otherwise LGTM
@@ -46,6 +46,7 @@ git_describe_command = 'git describe --tags --match="integrations/weaviate-v[0-9 | |||
dependencies = [ | |||
"coverage[toml]>=6.5", | |||
"pytest", | |||
"ipython", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need ipython as a dependency?
Relates to #131
This PR implements a minimal initialization of
WeaviateDocumentStore
and the internal Weaviate client.It also adds proper serialization of the Document Store.
We also fix the
weaviate-client
version to avoid breakages whenever the next upcoming version is released.