Commit Graph

13 Commits

Author SHA1 Message Date
Benedikt Bartscher
c1a6270eb8
add test for EnvVar + minor typing improvement 2024-10-28 21:57:41 +01:00
Benedikt Bartscher
960394b368
Merge remote-tracking branch 'upstream/main' into more-env-var-cleanup 2024-10-28 19:59:47 +01:00
benedikt-bartscher
08d8d54b50
port enum env var support from #4248 (#4251)
* port enum env var support from #4248

* add some tests for interpret env var functions
2024-10-28 11:56:40 -07:00
Benedikt Bartscher
36c5b4f931
revert telemetry, it lives in rx.Config 2024-10-26 14:26:04 +02:00
Benedikt Bartscher
85be850636
Merge remote-tracking branch 'upstream/main' into more-env-var-cleanup 2024-10-26 13:34:46 +02:00
Benedikt Bartscher
1499282f43
refactor - ruff broke the imports.. 2024-10-24 23:53:05 +02:00
benedikt-bartscher
9d29e7f3ee
fix and test bug in config env loading (#4205)
* 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
2024-10-24 10:27:23 -07:00
Benedikt Bartscher
4ddc014d28
streamline env var interpretation with @adhami3310 2024-10-21 22:46:23 +02:00
Benedikt Bartscher
44d60d1cc8
Merge remote-tracking branch 'upstream/main' into fix-rx-config 2024-10-21 22:31:10 +02:00
Khaleel Al-Adhami
f39e8c9667
move all environment variables to the same place (#4192)
* move all environment variables to the same place

* reorder things around

* move more variables to environment

* remove cyclical imports

* forgot default value for field

* for some reason type hints aren't being interpreted

* put the field type *before* not after

* make it get

* move a bit more

* add more fields

* move reflex dir

* add return

* put things somewhere else

* add custom error
2024-10-21 13:28:55 -07:00
Benedikt Bartscher
2efa0ef3e9
fix and test bug in config env loading 2024-10-20 18:56:07 +02:00
Thomas Brandého
3f51943162
use pathlib as much as possible (#3967)
* use pathlib as much as possible

* fixstuff

* break locally to unbreak in CI 🤷

* add type on env

* debug attempt 1

* debugged

* oops, there is the actual fix

* fix 3.9 compat
2024-10-03 17:50:39 +02:00
Thomas Brandého
3f538865b5
reorganize all tests in a single top folder (#3981)
* lift node version restraint to allow more recent version if already installed

* add node test for latest version

* change python version

* use purple for debug logs

* update workflow

* add playwright dev dependency

* update workflow

* change test

* oops

* improve test

* update test

* fix tests

* mv units tests to a subfolder

* reorganize tests

* fix install

* update test_state

* revert node changes and only keep new tests organization

* move integration tests in tests/integration

* fix integration workflow

* fix dockerfile workflow

* fix dockerfile workflow 2

* fix shared_state
2024-09-26 01:22:52 +02:00