Sören Brunk
12/05/2022, 7:52 AMTrainingArgs
and use that as an input to a task and then fetch an execution of that task using remote, I'll get a TrainingargsSchema
object which is generated from the protobuf I guess. Now I'd like to convert that back to a TrainingArgs
instance. Is this possible?Samhita Alla
FlyteWorkflowExecution
used to have raw_outputs
but I don’t find it in the recent flytekit versions. @Eduardo Apolinario (eapolinario), any idea why this has been removed?
For the time being, you can convert the schema to dict <http://dataclass_schema.to|dataclass_schema.to>_dict()
or extract the fields directly from the schema dataclass_schema.epochs
, and create a dataclass.Ketan (kumare3)
Sören Brunk
12/05/2022, 12:26 PMTrainingArgs
execution.inputs.get("training_args", as_type=TrainingArgs)