We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c517252 commit f13d400Copy full SHA for f13d400
1 file changed
openhexa/sdk/workspaces/current_workspace.py
@@ -187,7 +187,7 @@ def database_url(self):
187
try:
188
# First try the environment variable. In case we're inside a pipeline,
189
# we add some extra parameters to the URL.
190
- return os.environ.get("WORKSPACE_DATABASE_URL")
+ return os.environ["WORKSPACE_DATABASE_URL"]
191
except KeyError:
192
return (
193
f"postgresql://{self.database_username}:{self.database_password}"
0 commit comments