Skip to content

Commit

Permalink
airbyte-cdk: custom retriever defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
aldogonzalez8 committed Dec 13, 2024
1 parent ceebfda commit 064eb6d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ def create_exponential_backoff_strategy(
)

def create_http_requester(
self, model: HttpRequesterModel, decoder: Decoder, config: Config, *, name: str
self, model: HttpRequesterModel, config: Config, decoder: Decoder=JsonDecoder(parameters={}), *, name: str
) -> HttpRequester:
authenticator = (
self._create_component_from_model(
Expand Down Expand Up @@ -1896,7 +1896,7 @@ def create_record_selector(
config: Config,
*,
name: str,
transformations: List[RecordTransformation],
transformations: Optional[List[RecordTransformation]] = None,
decoder: Optional[Decoder] = None,
client_side_incremental_sync: Optional[Dict[str, Any]] = None,
**kwargs: Any,
Expand Down Expand Up @@ -1928,7 +1928,7 @@ def create_record_selector(
name=name,
config=config,
record_filter=record_filter,
transformations=transformations,
transformations=transformations or [],
schema_normalization=schema_normalization,
parameters=model.parameters or {},
)
Expand Down

0 comments on commit 064eb6d

Please sign in to comment.