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
[AIRFLOW-6399] Serialization: DAG access_control field should be deco… #7374
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst)
|
Failed check is about PR title. I have fixed the title but not sure how to rerun the check. |
You need to amend the commit - it's the commit title that is a problem"
|
b85f05c
to
37a9f27
Compare
Oh, silly me. Fixed. Thanks. |
Codecov Report
@@ Coverage Diff @@
## master #7374 +/- ##
=========================================
- Coverage 86.35% 86.3% -0.06%
=========================================
Files 871 871
Lines 40627 40660 +33
=========================================
+ Hits 35084 35092 +8
- Misses 5543 5568 +25
Continue to review full report at Codecov.
|
Can you add a new test or update the ground_truth_dag with access_control |
"access_control" added to ground_truth_dag. Thank for guiding me. |
Still not able to see the test, maybe you forgot to push? Btw I am OOO until 18 Feb, so please bear me with me if I am not able to recheck the PR till then |
d5138be
to
25aaa7e
Compare
@kaxil Test run OK with Postgres. I'm not sure what wrong with the test for MySQL and SQLite. |
…rated field in DAG serialization
I have restarted the test |
The test output is hard to read, but I think this is failing because |
You're right. And seems like your PR test pass. I would be happy to see this change merged 👍 |
'_access_control' field need to be defined as decorated field so the field can be serialized/deserialized incorrectly.
Issue link: AIRFLOW-6399
Make sure to mark the boxes below before creating PR: [x]
[AIRFLOW-6399]
.In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.