types
InputVariable
dataclass
Class to generate code related input variable and it's default value
Parameters:
Name | Type | Description | Default |
---|---|---|---|
variable_name |
variable name |
required | |
value |
variable value |
required | |
value_type |
variable object type |
required |
Attributes:
default_args: ex: a = 1
parser_body: ex: parser.add_argument('--a', default=1, type=int)
parser_args: ex: a = args.a
Source code in lineapy/graph_reader/types.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|