From f28064815357a5cbfe3c0a534b4ab0434c7bc50e Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Sun, 5 Jul 2026 23:39:51 +0800 Subject: [PATCH] perf: import onepush lazily --- module/notify/__init__.py | 4 ++++ module/{ => notify}/notify.py | 0 2 files changed, 4 insertions(+) create mode 100644 module/notify/__init__.py rename module/{ => notify}/notify.py (100%) diff --git a/module/notify/__init__.py b/module/notify/__init__.py new file mode 100644 index 0000000..58df200 --- /dev/null +++ b/module/notify/__init__.py @@ -0,0 +1,4 @@ +def handle_notify(*args, **kwargs): + # Lazy import onepush + from module.notify.notify import handle_notify + return handle_notify(*args, **kwargs) diff --git a/module/notify.py b/module/notify/notify.py similarity index 100% rename from module/notify.py rename to module/notify/notify.py