[GitHub] [airflow] mik-laj commented on a change in pull request #8651: [AIP-31] [AIRFLOW-8058] Retrieve current execution context without altering function's signature

2020-05-31 Thread GitBox
mik-laj commented on a change in pull request #8651: URL: https://github.com/apache/airflow/pull/8651#discussion_r432954063 ## File path: docs/howto/use-additional-execute-contextmanager.rst ## @@ -0,0 +1,68 @@ + .. Licensed to the Apache Software Foundation (ASF) under one +

[GitHub] [airflow] mik-laj commented on a change in pull request #8651: [AIP-31] [AIRFLOW-8058] Retrieve current execution context without altering function's signature

2020-05-03 Thread GitBox
mik-laj commented on a change in pull request #8651: URL: https://github.com/apache/airflow/pull/8651#discussion_r419128640 ## File path: tests/task/context/test_current_context.py ## @@ -0,0 +1,100 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more

[GitHub] [airflow] mik-laj commented on a change in pull request #8651: [AIP-31] [AIRFLOW-8058] Retrieve current execution context without altering function's signature

2020-05-03 Thread GitBox
mik-laj commented on a change in pull request #8651: URL: https://github.com/apache/airflow/pull/8651#discussion_r419129507 ## File path: airflow/config_templates/config.yml ## @@ -366,6 +366,17 @@ type: string example: "path.to.CustomXCom" default:

[GitHub] [airflow] mik-laj commented on a change in pull request #8651: [AIP-31] [AIRFLOW-8058] Retrieve current execution context without altering function's signature

2020-05-03 Thread GitBox
mik-laj commented on a change in pull request #8651: URL: https://github.com/apache/airflow/pull/8651#discussion_r419128640 ## File path: tests/task/context/test_current_context.py ## @@ -0,0 +1,100 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more

[GitHub] [airflow] mik-laj commented on a change in pull request #8651: [AIP-31] [AIRFLOW-8058] Retrieve current execution context without altering function's signature

2020-05-03 Thread GitBox
mik-laj commented on a change in pull request #8651: URL: https://github.com/apache/airflow/pull/8651#discussion_r419128190 ## File path: airflow/models/taskinstance.py ## @@ -1110,6 +1116,27 @@ def signal_handler(signum, frame): session.merge(self)

[GitHub] [airflow] mik-laj commented on a change in pull request #8651: [AIP-31] [AIRFLOW-8058] Retrieve current execution context without altering function's signature

2020-05-03 Thread GitBox
mik-laj commented on a change in pull request #8651: URL: https://github.com/apache/airflow/pull/8651#discussion_r419128100 ## File path: airflow/models/taskinstance.py ## @@ -1110,6 +1116,27 @@ def signal_handler(signum, frame): session.merge(self)