[
https://issues.apache.org/jira/browse/AIRFLOW-3795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16797238#comment-16797238
]
ASF subversion and git services commented on AIRFLOW-3795:
----------------------------------------------------------
Commit 94f355c7cd3bb4e64974c2f8f0f6e796da9423ea in airflow's branch
refs/heads/v1-10-stable from Sergio Soto
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=94f355c ]
[AIRFLOW-3795] provide_context param is now used (#4735)
* provide_context param is now used
* Fixed new PythonVirtualenvOperator test
> provide_context is not a passable parameter for PythonVirtualenvOperator
> ------------------------------------------------------------------------
>
> Key: AIRFLOW-3795
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3795
> Project: Apache Airflow
> Issue Type: Improvement
> Components: operators
> Reporter: Susannah Doss
> Assignee: Sergio Soto Núñez
> Priority: Trivial
> Fix For: 1.10.3
>
>
> `PythonVirtualenvOperator` does not allow me to specify
> `provide_context=True`:
> https://github.com/apache/airflow/blob/83cb9c3acdd3b4eeadf1cab3cb45d644c3e9ede0/airflow/operators/python_operator.py#L242
> However, I am able to do so when I use the plain `PythonOperator`. I can't
> see a reason why I wouldn't be allowed to have it be set to `True` when using
> a `PythonVirtualenvOperator`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)