cuddly-jelly-27016
02/27/2025, 3:17 PMmetadata to FlyteFile so that it an adjust the Literal's metadata.
## How was this patch tested?
Unit test and integration tests were updated.
The UI automatically shows the new metadata:
[Screenshot 2025-02-27 at 10 16 32 AM](https://private-user-images.githubusercontent.com/5402633/417659467-d93465b5-8809-4508-8f54-421a615965f8.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDEyOTMzNzQsIm5iZiI6MTc0MTI5MzA3NCwicGF0aCI6Ii81NDAyNjMzLzQxNzY1OTQ2Ny1kOTM0NjViNS04ODA5LTQ1MDgtOGY1NC00MjFhNjE1OTY1ZjguanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDMwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAzMDZUMjAzMTE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzZiNzEzMzU3YzYxMjlhMDMyMGFmODg0MTgxNDI2MDczMjJkMDE2YTUwZGU3NWUyZjAwOTBiMDJlZjYzNDdjZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.MCqcFKWucejRlGSPlagzUW9wFG9-RJwRy2ZfBMOpC9g)
### Summary by Bito
This PR has two main components: 1) Adds metadata support to FlyteFile with serialization/deserialization handling and type validation, enabling storage of string key-value pairs and preserving metadata during workflow execution. 2) Implements modular agent-related dependencies by moving them to an optional dependency group, with updates to Dockerfile.agent and dependency management through pyproject.toml.
Unit tests added: True
Estimated effort to review (1-5, lower is better): 2
flyteorg/flytekitcuddly-jelly-27016
03/06/2025, 8:31 PM