Skip to content

Commit 59c1fd8

Browse files
author
maxime.c
committed
lint
1 parent 1be518b commit 59c1fd8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

airbyte_cdk/sources/declarative/stream_slicers/declarative_partition_generator.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@
1212
from airbyte_cdk.utils.slice_hasher import SliceHasher
1313

1414

15-
class SchemaLoaderCachingDecorator(SchemaLoader):
16-
def __init__(self, schema_loader: SchemaLoader):
17-
self._decorated = schema_loader
18-
self._loaded_schema: Optional[Mapping[str, Any]] = None
19-
20-
def get_json_schema(self) -> Mapping[str, Any]:
21-
if self._loaded_schema is None:
22-
self._loaded_schema = self._decorated.get_json_schema()
23-
24-
return self._loaded_schema # type: ignore # at that point, we assume the schema will be populated
25-
26-
2715
class SchemaLoaderCachingDecorator(SchemaLoader):
2816
def __init__(self, schema_loader: SchemaLoader):
2917
self._decorated = schema_loader

0 commit comments

Comments
 (0)