We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The sample app weaviate_v4.py from openllmetry is throwing following error: AttributeError: '_WeaviateUUIDInt' object has no attribute 'is_safe'
For details see traceloop/openllmetry#1929
There are ways to fix this in that repo, but I am not sure if that is the best approach. How about adding this line to the constructor of _WeaviateUUIDInt (https://github.com/weaviate/weaviate-python-client/blob/main/weaviate/collections/queries/base.py#L66)? object.__setattr__(self, "is_safe", uuid_lib.SafeUUID.unknown) This is also the default value when creating an UUID instance.
object.__setattr__(self, "is_safe", uuid_lib.SafeUUID.unknown)
I made the proposed change locally, ran some tests, and it looked promising.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The sample app weaviate_v4.py from openllmetry is throwing following error: AttributeError: '_WeaviateUUIDInt' object has no attribute 'is_safe'
For details see traceloop/openllmetry#1929
There are ways to fix this in that repo, but I am not sure if that is the best approach. How about adding this line to the constructor of _WeaviateUUIDInt (https://github.com/weaviate/weaviate-python-client/blob/main/weaviate/collections/queries/base.py#L66)?
object.__setattr__(self, "is_safe", uuid_lib.SafeUUID.unknown)
This is also the default value when creating an UUID instance.
I made the proposed change locally, ran some tests, and it looked promising.
The text was updated successfully, but these errors were encountered: