Skip to content

Commit 4394ea2

Browse files
authored
apply suggestion
1 parent a606911 commit 4394ea2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

airbyte_cdk/cli/airbyte_cdk/_secrets.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
)
5151

5252
GCP_PROJECT_ID: str = os.environ.get("GCP_PROJECT_ID", "") or "dataline-integration-testing"
53+
# We put the `or` outside the `get()` because we want the `GCP_PROJECT_ID`
54+
# value to be ignored if it contains an empty string, such as in CI where the
55+
# workflow might set it to a value that is itself actually missing or unset.
5356
"""The GCP project ID to use for fetching integration test secrets."""
5457

5558
CONNECTOR_LABEL = "connector"

0 commit comments

Comments
 (0)