Elijah
09c6884ad4
fix tests
2024-11-07 12:34:08 +00:00
Elijah
5db97228be
move language regex on codeblock to markdown
2024-11-07 12:00:26 +00:00
Elijah
54ed553ed4
rebase on main
2024-11-07 12:00:26 +00:00
Elijah
dc859d0161
fix pyi files
2024-11-07 12:00:26 +00:00
Elijah
6e165f6746
fix remaining unit tests
2024-11-07 12:00:26 +00:00
Khaleel Al-Adhami
112ecdc2e3
use destructured args and pass the tests
2024-11-07 12:00:23 +00:00
Elijah
ec5f751f3f
use ArgsFunctionOperation
2024-11-07 11:57:42 +00:00
Elijah
dc18101118
minor fn signature fix
2024-11-07 11:57:42 +00:00
Elijah
7159a36df8
Fix tests
2024-11-07 11:57:42 +00:00
Elijah
90b6a6657e
This should fix it. Right?
2024-11-07 11:57:42 +00:00
Elijah
4135aec835
revert
2024-11-07 11:57:42 +00:00
Elijah
5eef963ec5
testing different OS
2024-11-07 11:57:42 +00:00
Elijah
b4e93c9d13
fix darglint
2024-11-07 11:57:41 +00:00
Elijah
a483ae400a
rebase on main
2024-11-07 11:57:41 +00:00
Elijah
43bfdff2e8
pyi run
2024-11-07 11:57:41 +00:00
Elijah
49e84036fc
Add unit tests plus mix components
2024-11-07 11:57:41 +00:00
Elijah
c5595e9dfd
darglint fix
2024-11-07 11:57:41 +00:00
Elijah
cbe5a8f9d8
the tests are not valid + pyright fix
2024-11-07 11:57:41 +00:00
Elijah
827a171980
abstract the map var logic
2024-11-07 11:57:41 +00:00
Elijah
0b6988ba15
Initial approach to getting this working with rx.memo and reflex web
2024-11-07 11:57:41 +00:00
Elijah
1a6ce66a5a
Codeblock cleanup in markdown
2024-11-07 11:57:41 +00:00
Simon Young
e457d53924
Adding hosting v1 support ( #4309 )
...
Co-authored-by: simon <simon@reflex.dev>
Co-authored-by: Khaleel Al-Adhami <khaleel.aladhami@gmail.com>
2024-11-06 17:18:41 -08:00
Khaleel Al-Adhami
68407ce2d8
unbreak pyi plotly ( #4320 )
2024-11-06 16:56:26 -08:00
Khaleel Al-Adhami
3bd35f53f2
add type hinting for plotly ( #4279 )
...
* add type hinting for plotly
* fix merge
2024-11-06 16:41:13 -08:00
Khaleel Al-Adhami
93ae79aa60
fix call_function events sent from backend ( #4316 )
2024-11-06 15:13:00 -08:00
Khaleel Al-Adhami
b9d73edd66
add metainfo to keyevent ( #4287 )
...
* allow for event handlers to ignore args
* use a constant
* dang it darglint
* forgor
* keep the tests but move them to valid place
* add metainfo to keyevent
* format code
* fix pyi files
* generate all prefixes of event types
* change format rule
2024-11-06 15:10:02 -08:00
Thomas Brandého
4c0b49135b
stop ignoring some lint rules ( #4311 )
...
* bump python packages version
* stop ignoring some lint rules that pass ruff check
* stop ignoring rule F541
* remove sneaky test file
2024-11-06 13:32:31 -08:00
Khaleel Al-Adhami
6ea797d0cd
pin marked to correct version ( #4313 )
...
* pin marked to correct version
* remove it completely?
* missing quotations
* match against reflex
2024-11-06 11:28:08 -08:00
Carlos
8a4701143e
add toast classname prop ( #4310 )
2024-11-06 09:49:09 -08:00
Thomas Brandého
54b081c104
allow custom bunfig.toml file ( #4280 )
...
* allow custom bunfig.toml file
* always copy custom bunfig
* split tests into half
* forgot a space
* use different syntax
* also split node latest check
* turn off failfast for app harness
---------
Co-authored-by: Khaleel Al-Adhami <khaleel.aladhami@gmail.com>
2024-11-06 09:31:13 -08:00
Simon Young
8d5187432f
add codeowners ( #4312 )
...
Co-authored-by: simon <simon@reflex.dev>
2024-11-06 09:30:43 -08:00
Khaleel Al-Adhami
c57d496184
improve typing for non decorated events ( #4308 )
...
* improve typing for non decorated events
* fix any typing
2024-11-06 09:21:19 -08:00
Khaleel Al-Adhami
bfa7ca639f
better missing system package message ( #4306 )
...
* better missing system package message
* change error type
2024-11-06 09:21:04 -08:00
Khaleel Al-Adhami
6334cfab0d
allow for event handlers to ignore args ( #4282 )
...
* allow for event handlers to ignore args
* use a constant
* dang it darglint
* forgor
* keep the tests but move them to valid place
2024-11-06 09:20:37 -08:00
simon
d9ab3a0f1c
Revert "add v1 support"
...
This reverts commit c216eeafeb
.
2024-11-05 18:28:16 -08:00
simon
c216eeafeb
add v1 support
2024-11-05 18:23:18 -08:00
Carlos
01e3844ac4
default props comment for GraphinTooltip ( #4101 )
...
* default props comment for GraphinTooltip
* update
2024-11-05 14:03:07 -08:00
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
Thomas Brandého
1c4f410052
bump python packages version ( #4302 )
2024-11-05 10:50:43 -08:00
Thomas Brandého
ce22ca5f71
rollback to 14.2.16 until v15 is more stable ( #4297 )
2024-11-05 10:50:32 -08:00
Khaleel Al-Adhami
b5d1e03de1
improve object var symantics ( #4290 )
...
* improve object var symantics
* add case for serializers
* check against serializer with to = dict
* add tests
* fix typing issues
* remove default value
* older version of python doesn't have assert type
* add base to rx field cases
* get it from typing_extension
2024-11-05 09:56:10 -08:00
Thomas Brandého
0ed7c5d969
expose rx.get_state() to get instance of state from anywhere ( #3959 )
...
* expose rx.get_state() to get instance of state from anywhere
* fix circular import and add read-only proxy
2024-11-05 16:21:59 +01:00
abulvenz
bb903b605a
Fix wrong hook ( #4295 )
...
* fix: Typo in variable name.
* fix: Using existing hook constant.
---------
Co-authored-by: Benedikt Bartscher <bb@senbax.de>
2024-11-04 15:20:02 -08:00
Khaleel Al-Adhami
1122cbf0b1
handle none case in state setattr ( #4301 )
2024-11-04 14:37:58 -08:00
benedikt-bartscher
b3c199870e
bypass pydantic runtime validation for state init ( #4256 )
...
* bypass pydantic runtime validation for state init
closes #4235
* cleanup
2024-11-04 13:05:39 -08:00
graham
702808afa6
Bugfix/leave gitignore as is ( #4291 )
...
* Refactor initialize_gitignore to support list type for files_to_ignore and improve current ignore handling. Dont sort the gitignore file.
* more consistent list comprehension var
2024-11-04 11:36:12 -08:00
Khaleel Al-Adhami
51b0f7d28e
special case field in _isinstance ( #4298 )
2024-11-04 11:06:24 -08:00
Khaleel Al-Adhami
16ed266d11
move check of path to only check name ( #4299 )
...
* move check of path to only check name
* assert .name in other tests as well
* get even more ones
2024-11-04 11:01:14 -08:00
Khaleel Al-Adhami
ca81e623db
add noop event ( #4288 )
...
* add noop event
* fix pyi
* get it right pyright
* why
* remove silly events
* fix tests
* remove semi colon
* errors in merging
2024-11-04 10:33:07 -08:00
Khaleel Al-Adhami
6394a6dfc5
raise error when get package manager is not found ( #4289 )
...
* raise error when get package manager is not found
* add escape hatch
* handle installing frontend packages more gracefully
* fix no return
* dang it darglint
2024-11-04 10:31:24 -08:00