[Draft] [flytekit] Polish - Cache #6143
Labels
backlogged
For internal use. Reserved for contributor team workflow.
untriaged
This issues has not yet been looked at by the Maintainers
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 toserialize
(bool
) ,version
(remains astr
), andignore
(update type tolist[str]|str|None=None
).This object should then be the input to the
cache
argument in the task decorator, which should be of typebool | Cache
, and isFalse
by default.Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: