pg.typing.Argument

Accessible via pg.typing.Argument.

class Argument(name, value_spec)[source]

Bases: object

Definition for a callable argument.

Methods:

from_annotation(name, annotation[, auto_typing])

Creates an argument from annotation.

classmethod from_annotation(name, annotation, auto_typing=False)[source]

Creates an argument from annotation.