
* upgrade to latest ruff * try to fix dep review * try to fix dep review (2) * upgrade black * upgrade black (2) * update allowed dependencies * update allowed dependencies (2) * update allowed dependencies (3) * wait between interim and final in yield test * remove previous commit, increase delay between yield * forgot to save on the time.sleep(1) removal * fix integration (maybe?) * fix pyi? * what even is going on * what is realityi? * test another fix for app harness * try to wait even longer? * force uvloop to be optional * downpin fastapi < 0.111, remove changes to test
56 lines
1.2 KiB
Python
56 lines
1.2 KiB
Python
"""Core Reflex components."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from reflex.utils import lazy_loader
|
|
|
|
_SUBMODULES: set[str] = {"layout"}
|
|
|
|
_SUBMOD_ATTRS: dict[str, list[str]] = {
|
|
"banner": [
|
|
"ConnectionBanner",
|
|
"ConnectionModal",
|
|
"ConnectionPulser",
|
|
"ConnectionToaster",
|
|
"connection_banner",
|
|
"connection_modal",
|
|
"connection_toaster",
|
|
"connection_pulser",
|
|
],
|
|
"colors": [
|
|
"color",
|
|
],
|
|
"cond": ["Cond", "color_mode_cond", "cond"],
|
|
"debounce": ["DebounceInput", "debounce_input"],
|
|
"foreach": [
|
|
"foreach",
|
|
"Foreach",
|
|
],
|
|
"html": ["html", "Html"],
|
|
"match": [
|
|
"match",
|
|
"Match",
|
|
],
|
|
"responsive": [
|
|
"desktop_only",
|
|
"mobile_and_tablet",
|
|
"mobile_only",
|
|
"tablet_and_desktop",
|
|
"tablet_only",
|
|
],
|
|
"upload": [
|
|
"upload",
|
|
"cancel_upload",
|
|
"clear_selected_files",
|
|
"get_upload_dir",
|
|
"get_upload_url",
|
|
"selected_files",
|
|
],
|
|
}
|
|
|
|
__getattr__, __dir__, __all__ = lazy_loader.attach(
|
|
__name__,
|
|
submodules=_SUBMODULES,
|
|
submod_attrs=_SUBMOD_ATTRS,
|
|
)
|