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:
Copy code
nb = NotebookTask(
pod_template_name="random template name",
)
@dynamic
def function():
return nb
# No problem
But overriding doesn't work within a dynamic workflow:
Copy code
@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
h
high-accountant-32689
05/25/2023, 5:32 PM
@fancy-plumber-70674, with_overrides is about overriding resources, not all properties of tasks.