Skip to content
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

Fix ModuleNotFoundError for weaviate.schema #2538

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Charlesnorris509
Copy link

### This pull request fixes the ModuleNotFoundError for weaviate.schema by updating the import statements and adding error handling to ensure the module is correctly imported.

_Changes:
Updated packages/opentelemetry-instrumentation-weaviate/opentelemetry/instrumentation/weaviate/init.py to handle import errors and log them appropriately.

Issue: Closes #2535_

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jan 21, 2025
@CLAassistant
Copy link

CLAassistant commented Jan 21, 2025

CLA assistant check
All committers have signed the CLA.

@dosubot dosubot bot added bug Something isn't working python Pull requests that update Python code labels Jan 21, 2025
Copy link
Member

@nirga nirga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Charlesnorris509, can you sign the CLA?
The problem with what you're doing is that it's hiding the problem - not solving it. Ideally we need to figure out what's the module name in the latest weaviate versions and fix that

@Charlesnorris509
Copy link
Author

@nirga I have signed the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python Pull requests that update Python code size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants