Reflex Cloud - Fast, secure & scalable hosting. One command to deploy.

Eventspec

reflex.event.EventSpec

An event specification.

Whereas an Event object is passed during runtime, a spec is used during compile time to outline the structure of an event.

Methods

SignatureDescription
with_args(self, args: 'Tuple[Tuple[Var, Var], ...]') -> 'EventSpec'Copy the event spec, with updated args.
add_args(self, *args: 'Var') -> 'EventSpec'Add arguments to the event spec.