reflex/tests/units/assets
benedikt-bartscher a5486335a3
rx._x.asset improvements (#3624)
* wip rx._x.asset improvements

* only add symlink if it doesn't already exist

* minor improvements, add more tests

* use deprecated Generator for python3.8 support

* improve docstring

* only allow explicit shared, only validate local assets if not backend_only

* fix darglint

* allow setting backend only env to false.

* use new is_backend_only in assets

* ruffing

* Move to `rx.asset`, retain old API in `rx._x.asset`

---------

Co-authored-by: Masen Furer <m_github@0x26.net>
2024-11-21 17:16:43 -08:00
..
custom_script.js rx._x.asset improvements (#3624) 2024-11-21 17:16:43 -08:00
test_assets.py rx._x.asset improvements (#3624) 2024-11-21 17:16:43 -08:00