<#6242 [Core feature] Let `pyflyte fetch` write ms...
# flytekit
c
#6242 [Core feature] Let `pyflyte fetch` write msgpack literals to JSON Issue created by pimdh Motivation: Why do you think this is important? When I have a previous execution output a msgpack encoded value (from a Pydantic basemodel outputs), it'd be great if I could use
pyflyte fetch
to grab these results. If we output to JSON, we can easily feed this back into a new task execution. Goal: What should the final outcome look like, ideally? Have
pyflyte fetch URI
write JSON to a file if the literal is msgpack encoded. Describe alternatives you've considered Alternatives are writing the msgpack binary, instead of JSON. We can also do this for any binary scalar. Propose: Link/Inline OR Additional context Some minor changes to https://github.com/flyteorg/flytekit/blob/master/flytekit/remote/data.py are needed Are you sure this issue hasn't been raised already? • Yes Have you read the Code of Conduct? • Yes flyteorg/flyte