-
Notifications
You must be signed in to change notification settings - Fork 198
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
updated the documentation #1784
updated the documentation #1784
Conversation
✅ Deploy Preview for dlt-hub-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also update the same thing here: https://dlthub.com/docs/general-usage/incremental-loading#advanced-state-usage-tracking-the-last-value-for-all-search-terms-in-twitter-api
@@ -1064,7 +1064,7 @@ def tweets(): | |||
data = get_data(start_from=last_val) | |||
yield data | |||
# change the state to the new value | |||
dlt.current.state()["last_updated"] = data["last_timestamp"] | |||
dlt.current.resource_state()["last_updated"] = data["last_timestamp"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dlt.current.resource_state()["last_updated"] = data["last_timestamp"] | |
dlt.current.resource_state()["last_updated"] = data["last_timestamp"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deleted the extra space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deleted the extra space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good!!
Description
Updated the incremental docs
Related Issues