From 7b83da0f5a082e096c4afeb389838ea761460e3b Mon Sep 17 00:00:00 2001 From: Matthias Bodenbenner <m.bodenbenner@wzl-mq.rwth-aachen.de> Date: Wed, 29 Mar 2023 06:31:25 +0200 Subject: [PATCH] 8.2.2 - fixed a type hint which depended on windows --- README.md | 5 ++++- setup.py | 2 +- src/http/server.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 675064e..f10b71b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [](https://git-ce.rwth-aachen.de/wzl-mq-ms/forschung-lehre/lava/unified-device-interface/python/commits/master) # Python Unified Device Interface -Current stable version: 8.2.1 +Current stable version: 8.2.2 ## Installation 1. Install the WZL-UDI package via pip @@ -51,6 +51,9 @@ Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) ## Recent changes +**8.2.2** - 2023-03-29 + - fixed a type hint which depended on windows + **8.2.1** - 2023-03-25 - removed utilities dependency, by integrating logger into wzl-udi library diff --git a/setup.py b/setup.py index 9a520c5..50270f8 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() setup(name='wzl-udi', - version='8.2.1', + version='8.2.2', url='https://git-ce.rwth-aachen.de/wzl-mq-public/soil/python', project_urls={ "Bug Tracker": "https://git-ce.rwth-aachen.de/wzl-mq-public/soil/python/-/issues", diff --git a/src/http/server.py b/src/http/server.py index 7e8c815..17c6f31 100644 --- a/src/http/server.py +++ b/src/http/server.py @@ -57,7 +57,7 @@ class HTTPServer(object): """ - def __init__(self, loop: asyncio.ProactorEventLoop, host: str, port: int, model: Component, + def __init__(self, loop: asyncio.AbstractEventLoop, host: str, port: int, model: Component, dataformat: str = 'json', legacy_mode=False, scheduler: StreamScheduler = None): """Constructor -- GitLab