-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Make Airflow plugin fully compatible with Airflow (WIP: partial changes) #14482
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
base: master
Are you sure you want to change the base?
Make Airflow plugin fully compatible with Airflow (WIP: partial changes) #14482
Conversation
…r imports in the listener
…ratorlineage objects, linted
dagrun: "DagRun" = task_instance.dag_run # type: ignore[attr-defined] | ||
task = task_instance.task | ||
if TYPE_CHECKING: | ||
assert task |
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.
Dangerous use of assert - low severity
When running Python in production in optimized mode, assert calls are not executed. This mode is enabled by setting the PYTHONOPTIMIZE command line flag. Optimized mode is usually ON in production. Any safety check done using assert will not be executed.
Remediation: Raise an exception instead of using assert.
View details in Aikido Security
Bundle ReportChanges will decrease total bundle size by 6.24MB (-21.9%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: datahub-react-web-esmAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Part of the series of PRs for #13357.
@hsheth2 opening this to get early feedback from you and others on the general approach, especially for the extractor design.
If you all think that the overall design looks good, I can expand this to on_task_instance_failed and the DAG methods.
(some aspects of the integration tests are failing, currently fixing them)