The GitHub Actions job "Tests (AMD)" on 
airflow.git/revert-neo4j-cypher-provision-check has failed.
Run started by GitHub user ColtenOuO (triggered by ColtenOuO).

Head commit for run:
ec7be07b98c029d33a9a651076c43942aa271425 / ColtenOuO <[email protected]>
Fail Neo4jOperator argument mistakes at Dag parse time

Whether `cypher` or `sql` was passed is a property of how the Dag was
written, not of the rendered value, and the constructor is the only place
that can read it: under render_template_as_native_obj a supplied field can
render to None, so the same check in execute reports an argument the author
did provide as missing. Checking at construction also surfaces the mistake
as a Dag import error instead of once per task instance.

The execute guard stays: a passed field can still render to None and the
hook needs a query string.

related: #70503

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

With regards,
GitHub Actions via GitBox


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

Reply via email to