Skip to content

Commit d6d0764

Browse files
committed
ruff fix
1 parent 1add93e commit d6d0764

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

airbyte_cdk/cli/airbyte_cdk/_secrets.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import os
2323
from pathlib import Path
2424
from types import ModuleType
25+
from typing import Any, TypeVar, cast
2526

2627
import rich_click as click
2728
from click import style
@@ -199,7 +200,7 @@ def list_(
199200
def _fetch_secret_handles(
200201
connector_name: str,
201202
gcp_project_id: str = AIRBYTE_INTERNAL_GCP_PROJECT,
202-
) -> list["Secret"]: # type: ignore
203+
) -> list["Secret"]: # type: ignore
203204
"""Fetch secrets from Google Secret Manager."""
204205
if not secretmanager:
205206
raise ImportError(
@@ -266,7 +267,7 @@ def _get_secrets_dir(
266267

267268
def _get_secret_filepath(
268269
secrets_dir: Path,
269-
secret: Secret, # type: ignore
270+
secret: Secret, # type: ignore
270271
) -> Path:
271272
"""Get the file path for a secret based on its labels."""
272273
if secret.labels and "filename" in secret.labels:
@@ -275,7 +276,7 @@ def _get_secret_filepath(
275276
return secrets_dir / "config.json" # Default filename
276277

277278

278-
def _get_gsm_secrets_client() -> "secretmanager.SecretManagerServiceClient": # type: ignore
279+
def _get_gsm_secrets_client() -> "secretmanager.SecretManagerServiceClient": # type: ignore
279280
"""Get the Google Secret Manager client."""
280281
if not secretmanager:
281282
raise ImportError(

0 commit comments

Comments
 (0)