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

standard resource state interface #350

Merged
merged 6 commits into from
May 21, 2023
Merged

Conversation

rudolfix
Copy link
Collaborator

@rudolfix rudolfix commented May 20, 2023

  • resource_state got final interface and is now exposed in dlt.current.resource_state
  • adds transformer overload that may be used when creating transformers dynamically to pass the decorated function
  • source.with_resources creates a clone of resource and selects in the clone. previously source was modified in place
  • you can write back the secrets and configuration using dlt.config and dlt.secrets indexers

docs for the above are coming

@rudolfix rudolfix self-assigned this May 20, 2023
@netlify
Copy link

netlify bot commented May 20, 2023

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit 6ff388d
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/646a56943ee4e2000889901b

@rudolfix rudolfix force-pushed the rfix/standard-resource-state branch from 5a01503 to d5ff7ce Compare May 20, 2023 20:20
@rudolfix rudolfix marked this pull request as ready for review May 21, 2023 18:58
@rudolfix rudolfix merged commit 5cae979 into devel May 21, 2023
28 checks passed
@rudolfix rudolfix deleted the rfix/standard-resource-state branch May 21, 2023 18:59
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.

None yet

1 participant