Skip to content

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
3 participants