reflex/reflex/constants
benedikt-bartscher 4a6c16e9dc
More env var cleanup (#4248)
* fix and test bug in config env loading

* streamline env var interpretation with @adhami3310

* improve error messages, fix invalid value for TELEMETRY_ENABLED

* just a small hint

* ruffing

* fix typo from review

* refactor - ruff broke the imports..

* cleanup imports

* more

* add internal and enum env var support

* ruff cleanup

* more global imports

* revert telemetry, it lives in rx.Config

* minor fixes/cleanup

* i missed some refs

* fix darglint

* reload config is internal

* fix EnvVar name

* add test for EnvVar + minor typing improvement

* bool tests

* was this broken?

* retain old behavior

* migrate APP_HARNESS_HEADLESS to new env var system

* migrate more APP_HARNESS env vars to new config system

* migrate SCREENSHOT_DIR to new env var system

* refactor EnvVar.get to be a method

* readd deleted functions and deprecate them

* improve EnvVar api, cleanup RELOAD_CONFIG question

* move is_prod_mode back to where it was
2024-11-05 12:25:13 -08:00
..
__init__.py More env var cleanup (#4248) 2024-11-05 12:25:13 -08:00
base.py More env var cleanup (#4248) 2024-11-05 12:25:13 -08:00
colors.py remove duplicate 'gray' color (#4249) 2024-10-28 09:27:21 -07:00
compiler.py use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
config.py move all environment variables to the same place (#4192) 2024-10-21 13:28:55 -07:00
custom_components.py use pathlib as much as possible (#3967) 2024-10-03 17:50:39 +02:00
event.py /health endpoint for K8 Liveness and Readiness probes (#3855) 2024-09-03 18:34:03 -07:00
installer.py More env var cleanup (#4248) 2024-11-05 12:25:13 -08:00
route.py [REF-2643] Throw Errors for duplicate Routes (#3155) 2024-05-03 12:15:40 -07:00
state.py let users pick state manager mode (#4041) 2024-10-10 12:22:35 -07:00
style.py versions bump before 0.6.4 (#4208) 2024-10-21 12:56:36 -07:00
utils.py move all environment variables to the same place (#4192) 2024-10-21 13:28:55 -07:00