diff --git a/src/cript/api/data_schema.py b/src/cript/api/data_schema.py index 1eaf24a4..2133b99b 100644 --- a/src/cript/api/data_schema.py +++ b/src/cript/api/data_schema.py @@ -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)