The definition of umodbus.server.route gives default values of None to the arguments, suggesting they can be omitted. However, if you actually provide None, it will fail later when evaluating DataRule.match.
This change makes it possible to omit any rule constraint to match on any value.
Coverage decreased (-0.005%) to 95.857% when pulling 5dc1dbe8d056b717c2526e22bdcf56f74542a49a on rgov:rzg/optional-args into dcf35a1f9881d0d5ffa4a640d1242fdcb3491bd7 on AdvancedClimateSystems:master.
Coverage decreased (-0.005%) to 95.857% when pulling 3937df23573de10b49746fa4371771c5ed14d52b on rgov:rzg/optional-args into dcf35a1f9881d0d5ffa4a640d1242fdcb3491bd7 on AdvancedClimateSystems:master.
The definition of
umodbus.server.route
gives default values ofNone
to the arguments, suggesting they can be omitted. However, if you actually provideNone
, it will fail later when evaluatingDataRule.match
.This change makes it possible to omit any rule constraint to match on any value.