fancy-plumber-70674
05/25/2023, 7:50 AMwith_overrides(pod_template_name="string")
on a NotebookTask, it appears that it doesn't do anything. Is this a Papermill/NotebookTask issue or have I perhaps specified it incorrectly? Setting the pod_template_name="string
parameter directly on the NotebookTask definition itself works, but not with with_overrides
.
Basically, this works:
nb = NotebookTask(
pod_template_name="random template name",
)
@dynamic
def function():
return nb
# No problem
But overriding doesn't work within a dynamic workflow:
@dynamic()
def dynamic_workflow() -> List[float]:
task_output = nb().with_overrides(
pod_template_name="string to override"
)
return task_output
# Pod template name isn't overriden
high-accountant-32689
05/25/2023, 5:32 PMglamorous-carpet-83516
05/25/2023, 5:45 PMfancy-plumber-70674
05/26/2023, 2:04 AM