When I try to use `with_overrides(pod_template_na...
# flyte-support
f
When I try to use
with_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:
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
@fancy-plumber-70674, with_overrides is about overriding resources, not all properties of tasks.
g
f
@high-accountant-32689 @glamorous-carpet-83516 Gotcha, thank you for the reply
194 Views