Package flyteidl.core

Interface Literals.StructuredDatasetMetadataOrBuilder

    • Method Detail

      • hasStructuredDatasetType

        boolean hasStructuredDatasetType()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
        Returns:
        Whether the structuredDatasetType field is set.
      • getStructuredDatasetType

        Types.StructuredDatasetType getStructuredDatasetType()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
        Returns:
        The structuredDatasetType.
      • getStructuredDatasetTypeOrBuilder

        Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;