<#6153 [BUG] with_overrides unsets timeout if not ...
# flytekit
c
#6153 [BUG] with_overrides unsets timeout if not specified Issue created by pvditt Describe the bug with_overrides will unset a timeout if timeout is not specified in the with_overrides call. https://github.com/flyteorg/flytekit/blob/4e93e36843b8f13f06eb088e1a46232ad1fb225d/flytekit/core/node.py#L178 Expected behavior with_overrides should only override specified params Additional context to reproduce
Copy code
@task(
    cache=True,
    cache_version="v1.0",
    timeout=timedelta(seconds=20),
)
def basic_cache(num: str) -> str:
    return f"Hi: {num[0]} ugh-1"


@workflow()
def task_metadata_wf() -> str:
    return basic_cache(num="1").with_overrides(cache_version="v1.1")
Screenshots No response Are you sure this issue hasn't been raised already? • Yes Have you read the Code of Conduct? • Yes flyteorg/flyte