<#6143 [flytekit] Polish - Cache> Issue created by...
# flyte-github
c
#6143 [flytekit] Polish - Cache Issue created by wild-endeavor ## Caching This is a series of tickets to improve the flytekit authoring experience. If any changes are not possible to make in a backwards-compatible way, split it out into a separate ticket. ### Merge options into a dataclass and rename argument Currently there are three configurations for cache control:
cache_serialize
,
cache_version
,
cache_ignore_input_vars
. We should rename these to
serialize
(
bool
) ,
version
(remains a
str
), and
ignore
(update type to
list[str]|str|None=None
). This object should then be the input to the
cache
argument in the task decorator, which should be of type
bool | Cache
, and is
False
by default. ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte