Code like below can be resolved with __all__1:
|
from .server.deck import Deck # noqa: F401 |
|
from .server.match import Match, MatchState # noqa: F401 |
|
from .utils import ( # noqa: F401 |
|
register_class, |
|
DescDictType, |
|
update_desc, |
|
deck_str_to_deck_code, |
|
deck_code_to_deck_str, |
|
) |
Code like below can be resolved with
__all__1:backend/src/lpsim/__init__.py
Lines 1 to 9 in fa862a2
Footnotes
https://docs.python.org/3/tutorial/modules.html#importing-from-a-package ↩