You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "sharanroongta (via GitHub)" <gi...@apache.org> on 2025/06/05 10:24:32 UTC

[I] YAML input in trigger UI [airflow]

sharanroongta opened a new issue, #51428:
URL: https://github.com/apache/airflow/issues/51428

   ### Description
   
   I work in a project where having a yaml input (instead of json -> which is in the case of object type param) is beneficial.
   
   I understand that airflow support multiple datatypes - ints, strings, list/arrays, and objects.
   Is it possible to also have yaml as a input.
   
   On a sidenote: I thought of interpreting multiline input, i.e., list of strings as my input, which I can join and interpret as yaml.
   However, airflow tends to remove trailing white spaces in string list items, thereby losing indentation information.
   example:
   
   a multiline array input of
   ```
   a:
       b: c
   ```
   
   is incorrectly transformed to yaml of this form:
   ```yaml
   {a: None, b: c}
   ```
   instead of:
   ```yaml
   {a: {b: c}}
   
   is this the intended purpose or is this is a bug??
   
   ### Use case/motivation
   
   I would like a human readable input, where the user can copy paste their yaml files in a text box.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] YAML input in trigger UI [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #51428:
URL: https://github.com/apache/airflow/issues/51428#issuecomment-2943624827

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org