mitre88 opened a new pull request, #70537:
URL: https://github.com/apache/airflow/pull/70537

   Part of the ongoing clean-up of broad `AirflowException` usages (enforced by 
the `check-no-new-airflow-exceptions` ratchet), following the pattern of #66279.
   
   `PostgresHook` raised `AirflowException` for two input-validation failures: 
a `sqlalchemy_query` connection extra that is not a dict (now `TypeError`), and 
requesting `realdictcursor` with psycopg3 (now `ValueError`, matching the 
invalid-cursor branch immediately below it that already raises `ValueError`). 
The `known_airflow_exceptions.txt` entry for the file drops from 2 to 0, and 
the existing test now asserts the specific exception type and message.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Fable 5)
   
   Generated-by: Claude Code (Fable 5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to