cuddly-jelly-27016
02/14/2025, 2:19 PMto_literal func here.
https://github.com/flyteorg/flytekit/pull/3134/files#diff-cc3172a3cdf60bb2ffb23b81cb5b92d6c4a89063d691e86932b312e1df09f292R530-R534
How was this patch tested?
unit test
Setup process
Screenshots
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
Docs link
Summary by Bito
This PR enhances the Flyte Literal Converter by optimizing type conversion flow in click_types.py and improving type handling. The changes eliminate redundant type conversions in remote execution scenarios and enhance type hinting for nullable fields in dataclass test cases. The modifications streamline the conversion process by ensuring proper ordering of literal conversions and explicitly marking fields with None default values as Optional, improving type system accuracy and maintainability.
Unit tests added: False
Estimated effort to review (1-5, lower is better): 1
flyteorg/flytekitcuddly-jelly-27016
02/14/2025, 4:45 PM