Tony Yun
10/25/2021, 6:56 PMalways_run/all_finished trigger to this task, but I can’t simply just add it to the end of parameters. Because this is not a @task way of definition, don’t know how to:
deletePod = kpod.DeleteNamespacedPod(kubernetes_api_key_secret=None)Kevin Kho
DeleteNamespacedPod() like DeleteNamespacedPod(trigger=always_run) because DeleteNamespacedPod is a subclass of Task. Source here . It then uses the super.init()Kevin Kho
@task and Task share those kwargsTony Yun
10/25/2021, 7:32 PM