flytekit.types.structured.StructuredDataset#
- class flytekit.types.structured.StructuredDataset(dataframe=None, uri=None, metadata=None, **kwargs)[source]#
This is the user facing StructuredDataset class. Please don’t confuse it with the literals.StructuredDataset class (that is just a model, a Python class representation of the protobuf).
Methods
- Parameters:
- classmethod from_dict(d, *, dialect=None)#
- classmethod from_json(data, decoder=<function loads>, **from_dict_kwargs)#
- set_literal(ctx, expected)[source]#
A public wrapper method to set the StructuredDataset Literal.
This method provides external access to the internal _set_literal method.
- Parameters:
ctx (FlyteContext)
expected (LiteralType)
- Return type:
None
- to_dict()#
- to_json(encoder=<function dumps>, **to_dict_kwargs)#
Attributes
- dataframe
- literal
- metadata