s21lee commented on PR #47050:
URL: https://github.com/apache/airflow/pull/47050#issuecomment-4182875729

   > Backwards-compatibility is a bummer. Can you point me to the docs or specs 
of an old version where this list[dict[str, str]] is being defined? I could not 
find any.
   > 
   > And if it a very old version I'd propose to add a deprecation marker and 
plan to clean such behavior up for one next release.
   
   I couldn’t find an official Airflow doc or type spec that defines env_vars 
as list[{"name": ..., "value": ...}] either. In practice it shows up from 
templated YAML/JSON and older community examples, not from a first-class API 
description. I’ve added a note in the convert_env_vars docstring stating that 
this list-of-dicts shape was not documented as a stable public API and that the 
supported styles are dict[str, str] (name → value) and list[k8s.V1EnvVar].
   


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