Skip to content

Commit

Permalink
reorder for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HammadB committed Oct 23, 2023
1 parent 5df225f commit abb5a88
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions chromadb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,6 @@ def HttpClient(
return ClientCreator(tenant=tenant, database=database, settings=settings)


def AdminClient(settings: Settings = Settings()) -> AdminAPI:
"""
Creates an admin client that can be used to create tenants and databases.
"""
return AdminClientCreator(settings=settings)


def Client(
settings: Settings = __settings,
tenant: str = DEFAULT_TENANT,
Expand All @@ -188,3 +179,12 @@ def Client(
"""

return ClientCreator(tenant=tenant, database=database, settings=settings)


def AdminClient(settings: Settings = Settings()) -> AdminAPI:
"""
Creates an admin client that can be used to create tenants and databases.
"""
return AdminClientCreator(settings=settings)

0 comments on commit abb5a88

Please sign in to comment.