hussein-awala opened a new pull request, #68561:
URL: https://github.com/apache/airflow/pull/68561

   Adds user-facing documentation for the standalone `apache-airflow-mypy` 
distribution, which was previously only described in its release notes. A new 
"Static Type Checking for Dags" section under best practices points to the 
package and explains when a Dag author would want it.
   
   What it covers:
   - Links to the package on PyPI and to mypy.
   - When to use it: accurate `mypy` results for Airflow-specific patterns 
(typed decorators that inject keyword args, and operator/`@task` outputs 
resolved from `XComArg` to the runtime type).
   - Install and `[mypy] plugins` configuration.
   - Notes that it is optional, independently versioned (SemVer), and not 
required at runtime.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Cursor (Claude Opus 4.8)


-- 
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