types
InputVariable
dataclass
¶
Class to generate code related input variable and it's default value
Attributes:
Name | Type | Description |
---|---|---|
variable_name |
variable name |
|
value |
variable value |
|
value_type |
variable object type |
|
default_args |
assignment of variable to a default value
ex: |
|
parser_body |
code block that uses python parser library to get a input variable from CLI.
ex: |
|
parser_args |
code block that unpacks input variable from args.
ex: |
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 32 33 34 35 |
|