reflex/tests
Masen Furer c0fb3fdb45
Do not allow call_function callback argument to be added afterwards
The default behavior for EventSpec is to treat the spec as a partial, wherein
if additional unfilled arguments are available, and the event trigger wants to
pass additional arguments, they will be applied positionally.

However, it never makes sense to fill in `callback` with an event trigger arg.
Therefore, if the callback is not provided initially, set it to None explicitly
so that some invalid value cannot be added later.
2024-12-17 15:01:22 -08:00
..
integration enable PTH rule (#4476) 2024-12-13 14:06:26 -08:00
units Do not allow call_function callback argument to be added afterwards 2024-12-17 15:01:22 -08:00
__init__.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
test_node_version.py improve app_src typing (#4324) 2024-11-07 14:08:37 -08:00