You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dlt user from community asked a question on initializing incremental from configuration
Is it a limitation of dlt that it cannot read configs when they are put inside the dlt.sources.incremental(...) block?
# resource for pipeline `talon_one_referrals_pipeline`
@dlt.resource(write_disposition="merge", table_name="referrals", primary_key="id")
def referrals_resource(
api_secret_key=dlt.secrets.value,
createdAfter=dlt.sources.incremental(
"created",
# BUG: cannot read this initial_value from config file
initial_value=dlt.config.value,
last_value_func=last_value_func,
),
campaign_ids=dlt.config.value,
schema_contract=SCHEMA_CONTRACT
):
[talon_one_referrals_pipeline]
campaign_ids = ["17", "14"]
initial_value = "2020-01-01T00:00:00.000000Z"
In fact we support loading incremental parameters from configuration below is the working example
Documentation description
Dlt user from community asked a question on initializing incremental from configuration
In fact we support loading incremental parameters from configuration below is the working example
Are you a dlt user?
Yes, I'm already a dlt user.
The text was updated successfully, but these errors were encountered: