Skip to content

Commit f942e60

Browse files
committed
remove 'Optional' import
1 parent f88a170 commit f942e60

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

airbyte_cdk/cli/airbyte_cdk/_secrets.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import json
2020
import os
2121
from pathlib import Path
22-
from typing import Optional
2322

2423
import rich_click as click
2524

@@ -56,8 +55,8 @@ def secrets_cli_group() -> None:
5655
help=f"GCP project ID. Defaults to '{AIRBYTE_INTERNAL_GCP_PROJECT}'.",
5756
)
5857
def fetch(
59-
connector_name: Optional[str] = None,
60-
connector_directory: Optional[Path] = None,
58+
connector_name: str | None = None,
59+
connector_directory: Path | None = None,
6160
gcp_project_id: str = AIRBYTE_INTERNAL_GCP_PROJECT,
6261
) -> None:
6362
"""Fetch secrets for a connector from Google Secret Manager.

0 commit comments

Comments
 (0)