The GitHub Actions job "Tests" on airflow.git/refresh-from-db-changes has 
failed.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
b17ac18aedfea637b46a2b4109ec8bd4efe58793 / Ash Berlin-Taylor <[email protected]>
Simplify TI.refresh_from_db

First off, we can remove the separate `_refresh_from_db` fn -- that was pulled
out as part of AIP-44 but isn't needed anymore, so I've moved things back in
to the method.

Secondly, rather than manually set attributes, we can make use of SQLAchemy to
do it for us.

Additionally, rather than setting the attribute (which would cause SQLA to
think there are some changes) we instead make use of the set_committed_value
so that the TI doesn't think anything has changed -- as by definition we've
just set it to the value in the DB!

Report URL: https://github.com/apache/airflow/actions/runs/14266517980

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to