Skip to content

Commit a49ac91

Browse files
author
maxime.c
committed
lint
1 parent 9e23e94 commit a49ac91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@ def _build_stream_slicer_from_partition_router(
21792179
elif isinstance(stream_slicer_model, dict):
21802180
# partition router comes from CustomRetrieverModel and has not been and therefore partition_router has not been parsed as a model
21812181
stream_slicer_model["$parameters"]["stream_name"] = stream_name
2182-
return self._create_nested_component(
2182+
return self._create_nested_component( # type: ignore[no-any-return] # There is no guarantee that this will return a stream slicer. If not, we expect an AttributeError during the call to `stream_slices`
21832183
model,
21842184
"partition_router",
21852185
stream_slicer_model,

0 commit comments

Comments
 (0)