Commit 0e2d392
Remove app_module_for_backend (#4749)
* Remove app_module_for_backend
* Replace app_module_for_backend with ASGI factory on `rx.App.__call__`
* Consolidate module spec for uvicorn, gunicorn, and granian
* update unit test
* granian is funny
* 🐶
* possibly
* don't compile the app on backend
* potentially less hacky solution
* use pool executor with functions not returning anything
* dang it darglint
---------
Co-authored-by: Lendemor <[email protected]>
Co-authored-by: Khaleel Al-Adhami <[email protected]>1 parent 2fcb573 commit 0e2d392
File tree
6 files changed
+58
-54
lines changed- reflex
- utils
- tests/units
6 files changed
+58
-54
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
579 | 595 | | |
580 | 596 | | |
581 | 597 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
206 | | - | |
207 | | - | |
208 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
209 | 219 | | |
210 | 220 | | |
211 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 203 | + | |
215 | 204 | | |
216 | | - | |
217 | | - | |
218 | | - | |
| 205 | + | |
219 | 206 | | |
220 | 207 | | |
221 | 208 | | |
| |||
317 | 304 | | |
318 | 305 | | |
319 | 306 | | |
320 | | - | |
| 307 | + | |
| 308 | + | |
321 | 309 | | |
322 | 310 | | |
323 | 311 | | |
| |||
341 | 329 | | |
342 | 330 | | |
343 | 331 | | |
344 | | - | |
| 332 | + | |
| 333 | + | |
345 | 334 | | |
346 | 335 | | |
347 | 336 | | |
| |||
419 | 408 | | |
420 | 409 | | |
421 | 410 | | |
| 411 | + | |
422 | 412 | | |
423 | 413 | | |
424 | 414 | | |
| |||
482 | 472 | | |
483 | 473 | | |
484 | 474 | | |
485 | | - | |
| 475 | + | |
| 476 | + | |
486 | 477 | | |
487 | 478 | | |
488 | 479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
415 | 424 | | |
416 | 425 | | |
417 | 426 | | |
| |||
430 | 439 | | |
431 | 440 | | |
432 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
433 | 452 | | |
434 | 453 | | |
435 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments