Skip to content

Commit

Permalink
enable import * by adding __all__
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Jan 18, 2025
1 parent cfce154 commit ef3cb1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py_ecc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit ef3cb1a

Please sign in to comment.