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

Conflicts with google-api-python-client #551

Open
archatas opened this issue Jan 18, 2025 · 0 comments
Open

Conflicts with google-api-python-client #551

archatas opened this issue Jan 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@archatas
Copy link

🚀 Feature Request

Today I found an issue related to another issue in the google-api-python-client:
googleapis/google-api-python-client#2485

To summarize, when both api-client and google-api-python-client are installed, the latter one overwrites the __init__.py file of the api-client. In that case, none of the import from apiclient directly work.

One possible way would be to change all the imports to the ones from nested modules, e.g.:

from apiclient.client import APIClient

instead of:

from apiclient import APIClient

I know, this is not ideal, but I can't come up with a better solution for those cases, when both packages are required. Maybe google-api-python-client will solve this issue in the near future.

@archatas archatas added the enhancement New feature or request label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant