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 2022/02/09 04:46:42 UTC

[GitHub] [airflow] gmcatsf opened a new issue #21447: Rendered template fields in the REST API

gmcatsf opened a new issue #21447:
URL: https://github.com/apache/airflow/issues/21447


   ### Description
   
   Make task instance rendered template fields available in the REST API.
   
   
   ### Use case/motivation
   
   A task instance stores its rendered template fields in rendered_task_instance_fields table. We'd like to be able to retrieve the  information as json after a task instance is executed. This could be a new endpoint or a new field in the existing TaskInstanceSchema.
   
   ### Related issues
   
   Did not find any existing issue.
   
   ### Are you willing to submit a PR?
   
   - [X] 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

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



[GitHub] [airflow] gmcatsf closed issue #21447: Rendered template fields in the REST API

Posted by GitBox <gi...@apache.org>.
gmcatsf closed issue #21447:
URL: https://github.com/apache/airflow/issues/21447


   


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



[GitHub] [airflow] ephraimbuddy commented on issue #21447: Rendered template fields in the REST API

Posted by GitBox <gi...@apache.org>.
ephraimbuddy commented on issue #21447:
URL: https://github.com/apache/airflow/issues/21447#issuecomment-1039476791


   I prefer adding it to the schema


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



[GitHub] [airflow] gmcatsf commented on issue #21447: Rendered template fields in the REST API

Posted by GitBox <gi...@apache.org>.
gmcatsf commented on issue #21447:
URL: https://github.com/apache/airflow/issues/21447#issuecomment-1039442133


   @mik-laj @ephraimbuddy what do you think about adding the folliowing new REST endpoint to support the requested feature, since UI has /rendered endpoint as well:
   
   `/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/renderedFields`
   
   Another alternative is to add rendered_fields in existing TaskInstanceSchema.
   


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



[GitHub] [airflow] gmcatsf commented on issue #21447: Rendered template fields in the REST API

Posted by GitBox <gi...@apache.org>.
gmcatsf commented on issue #21447:
URL: https://github.com/apache/airflow/issues/21447#issuecomment-1039442133


   @mik-laj @ephraimbuddy what do you think about adding the folliowing new REST endpoint to support the requested feature, since UI has /rendered endpoint as well:
   
   `/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/renderedFields`
   
   Another alternative is to add rendered_fields in existing TaskInstanceSchema.
   


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



[GitHub] [airflow] ephraimbuddy commented on issue #21447: Rendered template fields in the REST API

Posted by GitBox <gi...@apache.org>.
ephraimbuddy commented on issue #21447:
URL: https://github.com/apache/airflow/issues/21447#issuecomment-1039476791


   I prefer adding it to the schema


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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #21447: Rendered template fields in the REST API

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #21447:
URL: https://github.com/apache/airflow/issues/21447#issuecomment-1033344685


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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



[GitHub] [airflow] gmcatsf closed issue #21447: Rendered template fields in the REST API

Posted by GitBox <gi...@apache.org>.
gmcatsf closed issue #21447:
URL: https://github.com/apache/airflow/issues/21447


   


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



[GitHub] [airflow] potiuk commented on issue #21447: Rendered template fields in the REST API

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #21447:
URL: https://github.com/apache/airflow/issues/21447#issuecomment-1033767276


   Feel free to work on it


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