DonHaul commented on issue #39118:
URL: https://github.com/apache/airflow/issues/39118#issuecomment-2536402554

   > since we can define at operator definition the field 
`map_index_template="{{ task.op_kwargs['date'] }}",`, it can be render by the 
webserver
   
   this solution does not work if the task is run in a `PythonVirtualEnv` task. 
The following wont work:
   ```
   @task.virtualenv(
               requirements=["inspire-schemas"],
               system_site_packages=False,
               map_index_template="{{task.op_kwargs['date']}}",
           )`
   ```
   
   Is there a workaround for this specific case?
   


-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to