[pytango] 86/122: Expose tango object server in server module
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:18:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to tag v9.2.1
in repository pytango.
commit 396290c36cdac65f00e5cdc1ae51136b4b9797b8
Author: Vincent Michel <vincent.michel at maxlab.lu.se>
Date: Tue Nov 22 11:41:46 2016 +0100
Expose tango object server in server module
---
tango/server.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tango/server.py b/tango/server.py
index 49fb57d..5f13098 100644
--- a/tango/server.py
+++ b/tango/server.py
@@ -33,7 +33,8 @@ from .utils import scalar_to_array_type, TO_TANGO_TYPE
__all__ = ["DeviceMeta", "Device", "LatestDeviceImpl", "attribute",
"command", "pipe", "device_property", "class_property",
- "run", "server_run", "get_worker", "get_async_worker"]
+ "run", "server_run", "get_worker", "get_async_worker",
+ "Server"]
API_VERSION = 2
@@ -1693,3 +1694,7 @@ def _create_asyncio_worker():
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
return LoopExecutor(loop=loop)
+
+
+# Avoid circular imports
+from .tango_object import Server
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list