mpilot.arguments
¶
- class mpilot.arguments.Argument(name: str, value: Any, lineno: int | None = None)¶
- name: str¶
The name of the argument, e.g.,
InFieldName
.
- value: Any¶
The argument value itself. This could be any valid parameter type.
- lineno: int¶
The line that the argument appears on in the source file.
- class mpilot.arguments.ListArgument(name: str, value: List[Any], lineno: int | None = None, list_linenos: List[int] | None = None)¶
- list_linenos: List[int]¶
The line that each list item appear on in the source file. For example, if the source argument looks like this:
2InFieldNames=[ 3 Var_A, 4 Var_B, 5 Var_C 6]
The
list_linenos
might be:[3, 4, 5]