Skip to content

Commit 42c4f87

Browse files
syntronadeas31
andauthored
[__init__] rewrite - make it easier to modify imports (#358)
Co-authored-by: Adeel Asghar <[email protected]>
1 parent a4628ce commit 42c4f87

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

OMPython/__init__.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,24 @@
3636
CONDITIONS OF OSMC-PL.
3737
"""
3838

39-
from OMPython.ModelicaSystem import (LinearizationResult, ModelicaSystem, ModelicaSystemCmd, ModelicaSystemDoE,
40-
ModelicaSystemError)
41-
from OMPython.OMCSession import (OMCSessionCmd, OMCSessionException, OMCSessionRunData, OMCSessionZMQ,
42-
OMCProcessPort, OMCProcessLocal, OMCProcessDocker, OMCProcessDockerContainer,
43-
OMCProcessWSL)
39+
from OMPython.ModelicaSystem import (
40+
LinearizationResult,
41+
ModelicaSystem,
42+
ModelicaSystemCmd,
43+
ModelicaSystemDoE,
44+
ModelicaSystemError,
45+
)
46+
from OMPython.OMCSession import (
47+
OMCSessionCmd,
48+
OMCSessionException,
49+
OMCSessionRunData,
50+
OMCSessionZMQ,
51+
OMCProcessPort,
52+
OMCProcessLocal,
53+
OMCProcessDocker,
54+
OMCProcessDockerContainer,
55+
OMCProcessWSL,
56+
)
4457

4558
# global names imported if import 'from OMPython import *' is used
4659
__all__ = [

0 commit comments

Comments
 (0)