Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] [flytekit] Polish - Cache #6143

Open
2 tasks done
wild-endeavor opened this issue Jan 5, 2025 · 0 comments
Open
2 tasks done

[Draft] [flytekit] Polish - Cache #6143

wild-endeavor opened this issue Jan 5, 2025 · 0 comments
Labels
backlogged For internal use. Reserved for contributor team workflow. untriaged This issues has not yet been looked at by the Maintainers

Comments

@wild-endeavor
Copy link
Contributor

wild-endeavor commented Jan 5, 2025

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
@wild-endeavor wild-endeavor added documentation Improvements or additions to documentation untriaged This issues has not yet been looked at by the Maintainers labels Jan 5, 2025
@wild-endeavor wild-endeavor added backlogged For internal use. Reserved for contributor team workflow. and removed documentation Improvements or additions to documentation labels Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlogged For internal use. Reserved for contributor team workflow. untriaged This issues has not yet been looked at by the Maintainers
Projects
Status: Backlog
Development

No branches or pull requests

1 participant