cuddly-jelly-27016
03/06/2025, 4:36 PMResources. Which means Resources is extended to define both the request and limits. This PR also adds checks to make sure functions that expected resources to be singular raise an error.
Also, we also raise an error if limits or requests is used together with resources in @task.
## How was this patch tested?
Unit tests were added to this PR.
### Summary by Bito
This PR enhances Flyte's resource management by adding support for tuple/list specifications and refactoring the resource specification API for more intuitive usage. It updates resource configuration examples across Flytekit components to consistently use '1Gi' format for memory specifications instead of integers. The changes enforce stricter validation, streamline assertions, and ensure proper parameter usage for better API usability.
Unit tests added: True
Estimated effort to review (1-5, lower is better): 3
flyteorg/flytekitcuddly-jelly-27016
03/11/2025, 5:18 PM