Skip to content

Commit 2743e2e

Browse files
committed
[core] added open_socket to top level reexports
1 parent 338d2e5 commit 2743e2e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/geocompy/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
``geocompy.communication.open_serial``
6161
Serial connection context manager function.
6262
63+
``geocompy.communication.open_socket``
64+
Socket connection context manager function.
65+
6366
``geocompy.gsi.dna.GsiOnlineDNA``
6467
DNA instrument implementation.
6568
@@ -86,7 +89,10 @@
8689
Coordinate as Coordinate
8790
)
8891

89-
from .communication import open_serial as open_serial # noqa: F401
92+
from .communication import ( # noqa: F401
93+
open_serial as open_serial,
94+
open_socket as open_socket
95+
)
9096

9197
from .gsi.gsitypes import GsiOnlineResponse as GsiOnlineResponse # noqa: F401
9298
from .gsi.dna import GsiOnlineDNA as GsiOnlineDNA # noqa: F401

0 commit comments

Comments
 (0)