reflex/tests
Masen Furer adfda8adfd
[ENG-4165] Consider default and default_factory for state vars (#4510)
* [ENG-4165] Consider default and default_factory for state vars

When determining whether a state var should be marked as optional, check that
it is missing both default and default_factory and is not required.

Fix #4471

* add test for default factory with rx.foreach (#4515)

---------

Co-authored-by: benedikt-bartscher <31854409+benedikt-bartscher@users.noreply.github.com>
2024-12-12 10:10:44 -08:00
..
integration add ERA rules to detect commented out code (#4472) 2024-12-11 18:26:44 -08:00
units [ENG-4165] Consider default and default_factory for state vars (#4510) 2024-12-12 10:10:44 -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