def test_decentralized_event_no_args():
    """Test the decentralized event with no args."""

    class S(BaseState):
        field: Field[str] = field("")

    @event
    def e(s: S):
        s.field = "foo"

    _ = rx.input(on_change=e())
    _ = rx.input(on_change=e)
Test the decentralized event with no args.
tests/units/test_event.py