Skip to content

Commit 24c8ac9

Browse files
fix: Add type annotation for _expand_path to fix MyPy error
Co-Authored-By: unknown <>
1 parent c7ac5f2 commit 24c8ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte_cdk/sources/declarative/extractors/dpath_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __post_init__(self, parameters: Mapping[str, Any]) -> None:
9191
)
9292

9393
if self.expand_records_from_field:
94-
self._expand_path = [
94+
self._expand_path: Optional[List[InterpolatedString]] = [
9595
InterpolatedString.create(path, parameters=parameters)
9696
for path in self.expand_records_from_field
9797
]

0 commit comments

Comments
 (0)