Skip to content

Commit 1222b18

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent 782a7b1 commit 1222b18

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

airbyte_cdk/sources/declarative/requesters/query_properties/properties_from_endpoint.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def get_properties_from_endpoint(self) -> List[str]:
3535
self._cached_properties = list(
3636
map(
3737
self._get_property, # type: ignore # SimpleRetriever and AsyncRetriever only returns Record. Should we change the return type of Retriever.read_records?
38-
self.retriever.read_records(records_schema={}, stream_slice=StreamSlice(partition={}, cursor_slice={})),
38+
self.retriever.read_records(
39+
records_schema={}, stream_slice=StreamSlice(partition={}, cursor_slice={})
40+
),
3941
)
4042
)
4143
return self._cached_properties

airbyte_cdk/sources/declarative/retrievers/simple_retriever.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,9 @@ def _read_pages(
385385
response = None
386386
try:
387387
if self.additional_query_properties:
388-
for properties in self.additional_query_properties.get_request_property_chunks():
388+
for (
389+
properties
390+
) in self.additional_query_properties.get_request_property_chunks():
389391
stream_slice = StreamSlice(
390392
partition=stream_slice.partition or {},
391393
cursor_slice=stream_slice.cursor_slice or {},

unit_tests/sources/declarative/requesters/query_properties/test_query_properties.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def test_get_request_property_chunks_static_list_with_always_include_properties(
8383

8484

8585
def test_get_request_property_chunks_dynamic_endpoint():
86-
8786
properties_from_endpoint_mock = Mock(spec=PropertiesFromEndpoint)
8887
properties_from_endpoint_mock.get_properties_from_endpoint.return_value = iter(
8988
["alice", "clover", "dio", "k", "luna", "phi", "quark", "sigma", "tenmyouji"]

0 commit comments

Comments
 (0)