From ef3cb1a85b5649339a87e5fb3b227d1d17c5112f Mon Sep 17 00:00:00 2001 From: pacrob <5199899+pacrob@users.noreply.github.com> Date: Sat, 18 Jan 2025 08:21:51 -0700 Subject: [PATCH] enable import * by adding __all__ --- py_ecc/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/py_ecc/__init__.py b/py_ecc/__init__.py index c00f6a3..77af6ed 100644 --- a/py_ecc/__init__.py +++ b/py_ecc/__init__.py @@ -23,6 +23,8 @@ "secp256k1": "py_ecc.secp256k1", } +__all__ = list(_lazy_imports.keys()) + def _import_module(name: str) -> ModuleType: module = importlib.import_module(_lazy_imports[name])