diff --git a/exasol/saas/client/__init__.py b/exasol/saas/client/__init__.py new file mode 100644 index 0000000..45ea748 --- /dev/null +++ b/exasol/saas/client/__init__.py @@ -0,0 +1 @@ +SAAS_HOST = "https://cloud-staging.exasol.com" diff --git a/noxfile.py b/noxfile.py index aeeb0c9..f8437bd 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,6 +1,7 @@ import nox from nox import Session from noxconfig import PROJECT_CONFIG +from exasol.saas.client import SAAS_HOST # imports all nox task provided by the toolbox from exasol.toolbox.nox.tasks import * @@ -18,7 +19,7 @@ def generate_api(session: Session): session.run( "openapi-python-client", "update", - "--url", "https://cloud.exasol.com/openapi.json", + "--url", f"{SAAS_HOST}/openapi.json", "--config", "openapi_config.yml", ) session.run("isort", "-q", "exasol/saas/client/openapi")