Skip to content

Commit f43969e

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent c1fde82 commit f43969e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,11 @@ def create_custom_component(self, model: Any, config: Config, **kwargs: Any) ->
17071707

17081708
if self._is_component(model_value):
17091709
model_args[model_field] = self._create_nested_component(
1710-
model, model_field, model_value, config, **kwargs,
1710+
model,
1711+
model_field,
1712+
model_value,
1713+
config,
1714+
**kwargs,
17111715
)
17121716
elif isinstance(model_value, list):
17131717
vals = []
@@ -1835,9 +1839,7 @@ def _create_nested_component(
18351839
if kwarg in model_parameters
18361840
}
18371841
matching_kwargs = {
1838-
kwarg: kwargs[kwarg]
1839-
for kwarg in constructor_kwargs
1840-
if kwarg in kwargs
1842+
kwarg: kwargs[kwarg] for kwarg in constructor_kwargs if kwarg in kwargs
18411843
}
18421844

18431845
return self._create_component_from_model(

0 commit comments

Comments
 (0)