File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 11from .thing import Thing
22from .descriptors import ThingProperty , ThingSetting
33from .decorators import (
4- thing_property , thing_setting , thing_action ,
4+ thing_property ,
5+ thing_setting ,
6+ thing_action ,
57)
8+
9+ # The symbols in __all__ are part of our public API.
10+ # They are imported when using `import labthings_fastapi as lt`.
11+ # We should check that these symbols stay consistent if modules are rearranged.
12+ # The alternative `from .thing import Thing as Thing` syntax is not used, as
13+ # `mypy` is now happy with the current import style. If other tools prefer the
14+ # re-export style, we may switch in the future.
15+ __all__ = [
16+ "Thing" ,
17+ "ThingProperty" ,
18+ "ThingSetting" ,
19+ "thing_property" ,
20+ "thing_setting" ,
21+ "thing_action" ,
22+ ]
You can’t perform that action at this time.
0 commit comments