You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/06/30 09:28:44 UTC

[GitHub] [airflow] turbaszek opened a new pull request #9587: Use pformat instead of str

turbaszek opened a new pull request #9587:
URL: https://github.com/apache/airflow/pull/9587


   Large dictionaries that are part of operators input renders to hard to read form:
   <img width="2533" alt="Screenshot 2020-06-30 at 11 20 04" src="https://user-images.githubusercontent.com/9528307/86109357-9686e280-bac4-11ea-8e32-46bdf250d1c6.png">
   
   This PR proposes to use `pformat` instead of `str` to render the value:
   <img width="963" alt="Screenshot 2020-06-30 at 11 19 25" src="https://user-images.githubusercontent.com/9528307/86109429-abfc0c80-bac4-11ea-8070-17b1bb13c920.png">
   
   
   ---
   Make sure to mark the boxes below before creating PR: [x]
   
   - [ ] Description above provides context of the change
   - [ ] Unit tests coverage for changes (not needed for documentation changes)
   - [ ] Target Github ISSUE in description if exists
   - [ ] Commits follow "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)"
   - [ ] Relevant documentation is updated including usage instructions.
   - [ ] I will engage committers as explained in [Contribution Workflow Example](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#contribution-workflow-example).
   
   ---
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   Read the [Pull Request Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines) for more information.
   


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

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



[GitHub] [airflow] kaxil commented on pull request #9587: Use pfromat instead of str to render arguments in WebUI

Posted by GitBox <gi...@apache.org>.
kaxil commented on pull request #9587:
URL: https://github.com/apache/airflow/pull/9587#issuecomment-651722088


   Nice one @turbaszek 


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

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



[GitHub] [airflow] turbaszek merged pull request #9587: Use pfromat instead of str to render arguments in WebUI

Posted by GitBox <gi...@apache.org>.
turbaszek merged pull request #9587:
URL: https://github.com/apache/airflow/pull/9587


   


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

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