Skip to content

Commit 8790285

Browse files
style: fix formatting issues
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
1 parent f6cba7e commit 8790285

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

airbyte_cdk/cli/airbyte_cdk/_secrets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ def list_(
268268

269269
def _get_secret_url(secret_name: str, gcp_project_id: str) -> str:
270270
"""Generate a URL for a secret in the GCP Secret Manager console.
271-
271+
272272
Args:
273273
secret_name: The name of the secret
274274
gcp_project_id: The GCP project ID
275-
275+
276276
Returns:
277277
str: URL to the secret in the GCP console
278278
"""

airbyte_cdk/cli/airbyte_cdk/exceptions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ class ConnectorSecretWithNoValidVersionsError(AirbyteConnectorError):
1818
def __str__(self) -> str:
1919
"""Return a string representation of the exception."""
2020
from airbyte_cdk.cli.airbyte_cdk._secrets import _get_secret_url
21-
22-
urls = [_get_secret_url(secret_name, self.gcp_project_id) for secret_name in self.secret_names]
21+
22+
urls = [
23+
_get_secret_url(secret_name, self.gcp_project_id) for secret_name in self.secret_names
24+
]
2325
urls_str = "\n".join([f"- {url}" for url in urls])
2426
secrets_str = ", ".join(self.secret_names)
2527
return (

0 commit comments

Comments
 (0)