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)#
- open(dataframe_type)[source]#
- Parameters
dataframe_type (Type[flytekit.types.structured.structured_dataset.DF]) –
- to_dict()#
- to_json(encoder=<function dumps>, **to_dict_kwargs)#
Attributes
- dataframe
- file_format: Optional[str] = ''
- literal
- metadata
- uri: Optional[str] = None