Skip to content

Commit a606911

Browse files
committed
coalesce late, treating empty str in env var as none
1 parent deba805 commit a606911

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

airbyte_cdk/cli/airbyte_cdk/_secrets.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,7 @@
4949
resolve_connector_name_and_directory,
5050
)
5151

52-
GCP_PROJECT_ID: str = os.environ.get(
53-
"GCP_PROJECT_ID",
54-
"dataline-integration-testing",
55-
)
52+
GCP_PROJECT_ID: str = os.environ.get("GCP_PROJECT_ID", "") or "dataline-integration-testing"
5653
"""The GCP project ID to use for fetching integration test secrets."""
5754

5855
CONNECTOR_LABEL = "connector"

0 commit comments

Comments
 (0)