Skip to content

Commit 89066c8

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent 950443e commit 89066c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

airbyte_cdk/sources/declarative/resolvers/config_components_resolver.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from copy import deepcopy
66
from dataclasses import InitVar, dataclass, field
77
from itertools import product
8-
from typing import Any, Dict, Iterable, List, Mapping, Optional, Union, Tuple
8+
from typing import Any, Dict, Iterable, List, Mapping, Optional, Tuple, Union
99

1010
import dpath
1111
from typing_extensions import deprecated
@@ -119,7 +119,9 @@ def prepare_streams() -> Iterable[List[Tuple[int, Any]]]:
119119
for stream_config in self.stream_configs:
120120
path = resolve_path(stream_config.configs_pointer)
121121
stream_configs = dpath.get(dict(self.config), path, default=[])
122-
stream_configs = stream_configs if isinstance(stream_configs, list) else [stream_configs]
122+
stream_configs = (
123+
stream_configs if isinstance(stream_configs, list) else [stream_configs]
124+
)
123125
if stream_config.default_values:
124126
stream_configs.extend(stream_config.default_values)
125127
yield [(i, item) for i, item in enumerate(stream_configs)]

0 commit comments

Comments
 (0)