ParserOption

class pydelfini.delfini_core.models.parser_option.ParserOption(type, allow_null=False, choices=Unset, default=Unset, description=Unset)[source]

Bases: object

ParserOption model

Parameters:
type
Type:

ParserOptionType

allow_null

Default: False.

Type:

Union[Unset, bool]

choices
Type:

Union[Unset, List[Any]]

default
Type:

Union[Unset, Any]

description
Type:

Union[Unset, str]

Attributes

type

allow_null

choices

default

description

classmethod from_dict(src_dict)[source]

Create an instance of ParserOption from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]