Skip to content

Commit 863ba57

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent 04046f6 commit 863ba57

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

airbyte_cdk/sources/declarative/stream_slicers/declarative_partition_generator.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) 2024 Airbyte, Inc., all rights reserved.
22

3-
from typing import Any, Iterable, Mapping, Optional, Hashable
3+
from typing import Any, Hashable, Iterable, Mapping, Optional
44

55
from airbyte_cdk.sources.declarative.retrievers import Retriever
66
from airbyte_cdk.sources.message import MessageRepository
@@ -101,7 +101,9 @@ def generate(self) -> Iterable[Partition]:
101101
@staticmethod
102102
def _make_hashable(obj: Any) -> Hashable:
103103
if isinstance(obj, dict):
104-
return frozenset((k, StreamSlicerPartitionGenerator._make_hashable(v)) for k, v in obj.items())
104+
return frozenset(
105+
(k, StreamSlicerPartitionGenerator._make_hashable(v)) for k, v in obj.items()
106+
)
105107
if isinstance(obj, list):
106108
return tuple(StreamSlicerPartitionGenerator._make_hashable(i) for i in obj)
107109
return obj

0 commit comments

Comments
 (0)