We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 623723f commit 4a23c35Copy full SHA for 4a23c35
airbyte_cdk/test/standard_tests/docker_base.py
@@ -11,7 +11,7 @@
11
from dataclasses import asdict
12
from pathlib import Path
13
from subprocess import CompletedProcess, SubprocessError
14
-from typing import Literal
+from typing import Literal, cast
15
16
import orjson
17
import pytest
@@ -63,7 +63,7 @@ def connector_name(self) -> str:
63
@classmethod
64
def is_destination_connector(cls) -> bool:
65
"""Check if the connector is a destination."""
66
- return cls.connector_name.startswith("destination-")
+ return cast(str, cls.connector_name).startswith("destination-")
67
68
@classproperty
69
def acceptance_test_config_path(cls) -> Path:
0 commit comments