File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
airbyte_cdk/cli/airbyte_cdk Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2222import os
2323from pathlib import Path
2424from types import ModuleType
25+ from typing import Any , TypeVar , cast
2526
2627import rich_click as click
2728from click import style
@@ -199,7 +200,7 @@ def list_(
199200def _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
267268def _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 (
You can’t perform that action at this time.
0 commit comments