Skip to content

Commit 96eabbf

Browse files
authored
revert changes moved to #738
1 parent 3f19659 commit 96eabbf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

airbyte_cdk/connector_builder/connector_builder_handler.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,11 @@ def should_normalize_manifest(config: Mapping[str, Any]) -> bool:
6262

6363
def create_source(
6464
config: Mapping[str, Any],
65-
limits: TestLimits | None = None,
66-
catalog: ConfiguredAirbyteCatalog | None = None,
67-
state: List[AirbyteStateMessage] | None = None,
65+
limits: TestLimits,
66+
catalog: Optional[ConfiguredAirbyteCatalog],
67+
state: Optional[List[AirbyteStateMessage]],
6868
) -> ConcurrentDeclarativeSource[Optional[List[AirbyteStateMessage]]]:
6969
manifest = config["__injected_declarative_manifest"]
70-
catalog = catalog or None
71-
state = state or []
7270

7371
# We enforce a concurrency level of 1 so that the stream is processed on a single thread
7472
# to retain ordering for the grouping of the builder message responses.

0 commit comments

Comments
 (0)