Highlights

class pydelfini.delfini_core.models.highlights.Highlights(metadata, name, description=Unset, tags=Unset)[source]

Bases: object

Highlights model

Parameters:
metadata
Type:

HighlightsMetadata

name

A sequence of strings. The odd-numbered zero-based indices should be highlighted.

Type:

List[str]

description

A sequence of strings. The odd-numbered zero-based indices should be highlighted.

Type:

Union[Unset, List[str]]

tags
Type:

Union[Unset, List[List[str]]]

Attributes

metadata

name

description

tags

classmethod from_dict(src_dict)[source]

Create an instance of Highlights from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]