Skip to content

Commit c4b6640

Browse files
committed
fix typing
1 parent c11e1ec commit c4b6640

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airbyte_cdk/cli/airbyte_cdk/_secrets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def _print_ci_secrets_masks(
377377

378378

379379
def _print_ci_secrets_masks_for_config(
380-
config: dict[str, str] | list | Any,
380+
config: dict[str, str] | list[Any] | Any,
381381
) -> None:
382382
"""Print GitHub CI mask for secrets config, navigating child nodes recursively."""
383383
if isinstance(config, list):
@@ -411,7 +411,7 @@ def _get_spec_mask() -> list[str]:
411411
"""Get the list of properties to mask from the spec mask file."""
412412
response = requests.get(GLOBAL_MASK_KEYS_URL, allow_redirects=True)
413413
if not response.ok:
414-
logger.error(f"Failed to fetch spec mask: {response.content}")
414+
logger.error(f"Failed to fetch spec mask: {response.content.decode('utf-8')}")
415415
try:
416416
return cast(list[str], yaml.safe_load(response.content)["properties"])
417417
except Exception as e:

0 commit comments

Comments
 (0)