Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental table hints and incremental in resource decorator #2033

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

steinitzu
Copy link
Collaborator

  • Extract incremental settings to a dict in table schema
  • Support passing incremental settings to @resource decorator

Description

  • Add incremental hint to table schema, containing all incremental settings used in extract
  • Accept incremental in @resource decorator. Either as dict (IncrementalArgs typeddict or incremental instance)
  • Decorator incremental is injected to resource func if argument is in signature
  • Explicit argument overrides decorator incremental

Related Issues

Additional Context

* Extract incremental settings to a dict in table schema
* Support passing incremental settings to @resource decorator
Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit dc917a3
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/672d15bb944fad0008c07707
😎 Deploy Preview https://deploy-preview-2033--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add incremental value info to table computed in the DltResource
1 participant