Skip to content

Update README.md #352

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

Closed
wants to merge 1 commit into from
Closed

Update README.md #352

wants to merge 1 commit into from

Conversation

accupham
Copy link

@accupham accupham commented Nov 9, 2024

update example imports

update example imports
@aMahanna
Copy link
Member

aMahanna commented Nov 18, 2024

Hi @accupham! Thanks for the contribution

The syntax from arango import ArangoClient is actually intentional due to a shortcut we've placed in the __init__.py file: https://github.com/arangodb/python-arango/blob/main/arango/__init__.py#L2

This allows you to import the ArangoClient without having to write arango.client

@apetenchea
Copy link
Member

We appreciate that @accupham, but as Anthony pointed out, the way we document such imports is intentional.
Hence, I'm closing this PR. Feel free to open a new issue in case you stumble upon anything else.

@apetenchea apetenchea closed this Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants