[Feature] Add callback support for ExecutionMode.KUBERNETES #1398
Labels
enhancement
New feature or request
execution:kubernetes
Related to Kubernetes execution environment
triage-needed
Items need to be reviewed / assigned to milestone
Description
Similar to the functionality of supporting to specify callback argument in the ExecutionMode.LOCAL as can be seen in
astronomer-cosmos/cosmos/operators/local.py
Line 143 in 0000f80
ExceutionMode.KUBERNETES
Use case/motivation
A common request from users is the ability to inspect files in the target directory after task execution. Since Cosmos clones the project directory into a temporary directory and executes tasks from there, access to this directory is lost once the task completes. While ExecutionMode.LOCAL provides callback support to perform actions on this temporary directory, similar functionality is currently unavailable for ExecutionMode.Kubernetes. Adding this support would be highly beneficial.
Related issues
related: #1349
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: