Skip to content

Commit

Permalink
moved URL to a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Apr 17, 2024
1 parent b2c3ae3 commit 7761ea1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions exasol/saas/client/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAAS_HOST = "https://cloud-staging.exasol.com"
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -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 *
Expand All @@ -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")

0 comments on commit 7761ea1

Please sign in to comment.