flytekit.Documentation#
- class flytekit.Documentation(short_description=None, long_description=None, source_code=None)[source]#
DescriptionEntity contains detailed description for the task/workflow/launch plan. Documentation could provide insight into the algorithms, business use case, etc. :param short_description: One-liner overview of the entity. :type short_description: str :param long_description: Full user description with formatting preserved. :type long_description: Optional[Description] :param source_code: link to source code used to define this entity :type source_code: Optional[SourceCode]
Methods
- Parameters:
short_description (str | None)
long_description (Description | None)
source_code (SourceCode | None)
- classmethod from_flyte_idl(pb2_object)[source]#
- Parameters:
pb2_object (DescriptionEntity)
- Return type:
- short_string()#
- Return type:
Text
- verbose_string()#
- Return type:
Text
Attributes
- is_empty
- long_description: Description | None = None
- source_code: SourceCode | None = None