misc changes: returns None, root as ., add

This commit is contained in:
lda
2026-05-18 00:45:08 +07:00 Verified
parent 6ee1d8f0cf
commit acd2e2ecb4
19 changed files with 274 additions and 53 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ def test_state_field_accepts_configured_reducer_reference() -> None:
),
] = 0
field = State.model_fields["total"].metadata[0]
field = State.model_fields["total"].metadata[0] # pylint: disable=unsubscriptable-object
assert field.reducer.name == "wf.std.modulo_add"
assert field.reducer.config["modulus"] == 10