move stuff around
This commit is contained in:
parent
086f273991
commit
2e5fbb49a3
@ -89,6 +89,8 @@ from reflex.utils import (
|
|||||||
lazy_loader,
|
lazy_loader,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from .event import event as event
|
||||||
|
|
||||||
# import this here explicitly to avoid returning the page module since page attr has the
|
# import this here explicitly to avoid returning the page module since page attr has the
|
||||||
# same name as page module(page.py)
|
# same name as page module(page.py)
|
||||||
from .page import page as page
|
from .page import page as page
|
||||||
@ -297,7 +299,6 @@ _MAPPING: dict = {
|
|||||||
"config": ["Config", "DBConfig"],
|
"config": ["Config", "DBConfig"],
|
||||||
"constants": ["Env"],
|
"constants": ["Env"],
|
||||||
"event": [
|
"event": [
|
||||||
"event",
|
|
||||||
"EventChain",
|
"EventChain",
|
||||||
"EventHandler",
|
"EventHandler",
|
||||||
"background",
|
"background",
|
||||||
@ -373,6 +374,3 @@ def __getattr__(name):
|
|||||||
|
|
||||||
return rc
|
return rc
|
||||||
return getattr(name)
|
return getattr(name)
|
||||||
|
|
||||||
|
|
||||||
event = getattr("event")
|
|
||||||
|
Loading…
Reference in New Issue
Block a user