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


   This PR adds possibility to define template_fields_renderers for an
   operator. In this way, users will be able to provide information
   on what lexer should be used for rendering a particular field. This is
   super useful for custom operator and gives more flexibility than
   predefined keywords.
   
   ## Before
   <img width="837" alt="Screenshot 2020-09-21 at 18 46 35" 
src="https://user-images.githubusercontent.com/9528307/93798107-696a4c00-fc3d-11ea-8b2a-eccd4490d95a.png";>
   
   ## After
   <img width="837" alt="Screenshot 2020-09-21 at 19 01 06" 
src="https://user-images.githubusercontent.com/9528307/93798096-653e2e80-fc3d-11ea-8feb-15d2896bee82.png";>
   
   
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   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).
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to