Add comments to YAML schema.
This commit is contained in:
@@ -66,12 +66,12 @@ $defs:
|
||||
- and
|
||||
- or
|
||||
- xor
|
||||
- add
|
||||
- radd
|
||||
- add # a + b
|
||||
- radd # b + a (for concatenating strings/iterables)
|
||||
- sub # a - b
|
||||
- rsub # b - a
|
||||
- mul
|
||||
- rmul
|
||||
- mul # a * b
|
||||
- rmul # b * a (for repeating strings/iterables)
|
||||
- div # a / b
|
||||
- rdiv # b / a
|
||||
- mod # a % b
|
||||
@@ -82,14 +82,16 @@ $defs:
|
||||
- rlog # log_a(b)
|
||||
- ceil # round up to integer
|
||||
- floor # round down to integer
|
||||
- round # round to `b` decimal places, default b = 0
|
||||
- round # round `a` to `b` decimal places, default b = 0
|
||||
- rround # round `b` to `a` decimal places
|
||||
- address_iec_to_modbus
|
||||
- address_modbus_to_iec
|
||||
- type_iec_to_opcua
|
||||
- type_opcua_to_iec
|
||||
# format the value `a` according the format spec `b`,
|
||||
# default b = "d"
|
||||
- format
|
||||
- rformat
|
||||
- rformat # format the value `b` according the format spec `a`
|
||||
- index # return the index of the current row
|
||||
arg:
|
||||
description: One positional argument.
|
||||
|
||||
Reference in New Issue
Block a user