Add comments to YAML schema.

This commit is contained in:
2026-11-05 20:26:26 -06:00
parent aeeda04c0a
commit b0c3610871

View File

@@ -66,12 +66,12 @@ $defs:
- and - and
- or - or
- xor - xor
- add - add # a + b
- radd - radd # b + a (for concatenating strings/iterables)
- sub # a - b - sub # a - b
- rsub # b - a - rsub # b - a
- mul - mul # a * b
- rmul - rmul # b * a (for repeating strings/iterables)
- div # a / b - div # a / b
- rdiv # b / a - rdiv # b / a
- mod # a % b - mod # a % b
@@ -82,14 +82,16 @@ $defs:
- rlog # log_a(b) - rlog # log_a(b)
- ceil # round up to integer - ceil # round up to integer
- floor # round down 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 - rround # round `b` to `a` decimal places
- address_iec_to_modbus - address_iec_to_modbus
- address_modbus_to_iec - address_modbus_to_iec
- type_iec_to_opcua - type_iec_to_opcua
- type_opcua_to_iec - type_opcua_to_iec
# format the value `a` according the format spec `b`,
# default b = "d"
- format - format
- rformat - rformat # format the value `b` according the format spec `a`
- index # return the index of the current row - index # return the index of the current row
arg: arg:
description: One positional argument. description: One positional argument.