-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
low-code: Delete now_local macro #25404
Conversation
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.
Nice! Found a couple more places where references to it can be removed.
airbyte/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_component_schema.yaml
Line 592 in 8d39efb
- "{{ now_local() }}" airbyte/airbyte-cdk/python/airbyte_cdk/sources/declarative/models/declarative_component_schema.py
Line 863 in 8d39efb
examples=["2021-01-1T00:00:00Z", "{{ now_utc() }}", "{{ now_local() }}"],
good catch @clnoll. Removed those references too |
* Delete now_local macro * Remove from reference docs * remove example
What
now_local()
macro is unpredictable because it uses the time local to the machine running the sync.How
Recommended reading order
airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/macros.py
airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_macros.py
airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_component_schema.yaml