github-actions[bot] opened a new pull request, #76205:
URL: https://github.com/apache/airflow/pull/76205

   * Show square brackets in airflowctl table and plain output as typed
   
   `airflowctl ... --output table` and `--output plain` passed values to Rich
   as markup, so a value such as `[/b]` crashed the command with a
   MarkupError and a value such as `s3://[bucket]/path` silently lost its
   bracketed part. Render the values literally, as `--output json` and
   `--output yaml` already do.
   
   * Show square brackets in airflowctl table headers as typed
   
   Column headers were still passed to Rich as markup, so a key such as
   `[/b]` raised a MarkupError and `[red]name[/red]` lost its tags in
   `--output table`. Escape them like the cell values, and run the output
   tests once per value, including a backslash before a tag.
   
   ---------
   (cherry picked from commit 117f115187220b0dd9fa28573425893647a141c9)
   
   Co-authored-by: Rishabh <[email protected]>
   Co-authored-by: Shahar Epstein <[email protected]>


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

  • [PR] [airflow-ctl/v0-1-test] ... github-actions[bot] (via GitHub) via commits

Reply via email to