class documentation

class Option:

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method process Undocumented
Instance Variable ​_long​_opts Undocumented
Instance Variable ​_short​_opts Undocumented
Instance Variable action Undocumented
Instance Variable const Undocumented
Instance Variable dest Undocumented
Instance Variable nargs Undocumented
Instance Variable obj Undocumented
Instance Variable prefixes Undocumented
Property takes​_value Undocumented
def __init__(self, obj, opts, dest, action=None, nargs=1, const=None):

Undocumented

Parameters
obj:CoreOptionUndocumented
opts:t.Sequence[str]Undocumented
dest:t.Optional[str]Undocumented
action:t.Optional[str]Undocumented
nargs:intUndocumented
const:t.Optional[t.Any]Undocumented
def process(self, value, state):

Undocumented

Parameters
value:strUndocumented
state:ParsingStateUndocumented
_long_opts: list =

Undocumented

_short_opts: list =

Undocumented

action =

Undocumented

const =

Undocumented

dest =

Undocumented

nargs =

Undocumented

obj =

Undocumented

prefixes: set =

Undocumented

@property
takes_value: bool =

Undocumented