Skip to content

Commit 4a23c35

Browse files
committed
fix lint issue
1 parent 623723f commit 4a23c35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airbyte_cdk/test/standard_tests/docker_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from dataclasses import asdict
1212
from pathlib import Path
1313
from subprocess import CompletedProcess, SubprocessError
14-
from typing import Literal
14+
from typing import Literal, cast
1515

1616
import orjson
1717
import pytest
@@ -63,7 +63,7 @@ def connector_name(self) -> str:
6363
@classmethod
6464
def is_destination_connector(cls) -> bool:
6565
"""Check if the connector is a destination."""
66-
return cls.connector_name.startswith("destination-")
66+
return cast(str, cls.connector_name).startswith("destination-")
6767

6868
@classproperty
6969
def acceptance_test_config_path(cls) -> Path:

0 commit comments

Comments
 (0)