Skip to content

Commit

Permalink
use api host
Browse files Browse the repository at this point in the history
  • Loading branch information
InnocentBug committed Dec 14, 2023
1 parent 2c2839d commit 8c754d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cript/api/data_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def __init__(self, host: str):
--------
### Create a stand alone DataSchema instance.
>>> import cript
>>> data_schema = cript.api.DataSchema("https://api.criptapp.org/api/v1/")
>>> with cript.API(host="https://api.criptapp.org/") as api:
... data_schema = cript.api.DataSchema(api.host)
"""

self._db_schema = self._get_db_schema(host)
Expand Down

0 comments on commit 8c754d8

Please sign in to comment.