Re: [I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2024-03-21 Thread via GitHub
github-actions[bot] closed issue #35483: Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined URL: https://github.com/apache/airflow/issues/35483 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2024-03-21 Thread via GitHub
github-actions[bot] commented on issue #35483: URL: https://github.com/apache/airflow/issues/35483#issuecomment-2014085868 This issue has been closed because it has not received response from the issue author. -- This is an automated message from the Apache Git Service. To respond to the

Re: [I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2024-03-14 Thread via GitHub
github-actions[bot] commented on issue #35483: URL: https://github.com/apache/airflow/issues/35483#issuecomment-1998677385 This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further

Re: [I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2024-02-19 Thread via GitHub
Taragolis commented on issue #35483: URL: https://github.com/apache/airflow/issues/35483#issuecomment-1953191577 Hey, @Felix-neko a lot of time has passed since last activity on this issue. Any chance that you have check it on [Airflow 2.8.1 with pendulum 3](https://airflow.apache.org/docs/

Re: [I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2023-11-06 Thread via GitHub
Felix-neko commented on issue #35483: URL: https://github.com/apache/airflow/issues/35483#issuecomment-1796979931 > @Felix-neko Is there a specific reason to pass the full DagRun object into the context? Would it help as workaround to only pass in specific details of the full DagRun? Which

Re: [I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2023-11-06 Thread via GitHub
jscheffl commented on issue #35483: URL: https://github.com/apache/airflow/issues/35483#issuecomment-1796898412 Good catch @Taragolis :-D I assume the same when I read this. @Felix-neko Is there a specific reason to pass the full DagRun object into the context? Would it help as workar

Re: [I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2023-11-06 Thread via GitHub
Taragolis commented on issue #35483: URL: https://github.com/apache/airflow/issues/35483#issuecomment-1796351023 I assume that is might be the same reason as described here: https://github.com/apache/airflow/issues/35307 -- This is an automated message from the Apache Git Service. To resp

Re: [I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2023-11-06 Thread via GitHub
Felix-neko commented on issue #35483: URL: https://github.com/apache/airflow/issues/35483#issuecomment-1796329525 UPD: If I simply add this two lines ``` serialized_dag = dill.dumps(dag) dill.loads(serialized_dag) ``` to the end of my DAG's code and execute it i

[I] Passing a DagRun to a PythonVirtualenvOperator gives NameError: name 'timedelta' is not defined [airflow]

2023-11-06 Thread via GitHub
Felix-neko opened a new issue, #35483: URL: https://github.com/apache/airflow/issues/35483 ### Apache Airflow version 2.7.3 ### What happened I have a simple DAG (with render_template_as_native_obj option enabled). I'm trying to pass a {{ dag_run }} to a PythonVirtualenv