Tags: flexiblepower/s2-python
Tags
139: Split up S2Connection into a sync and async interface as well as… … decoupling the underlying medium e.g. websockets, mqtt and d-bus interfaces (#144) * 139: Moving big chunks of code places. * 139: Finish up first draft before executing it. * 139: Get async mostly to work, started on getting sync to work. * 139: Add a bunch of stuff. Threading/task management is now clear for sync and async S2 connections and quickstart for BlockingWebsocketRM is created. * 139: Some fixes. * 139: Fix all linting issues. * 139: Fix all linting and typing issues. * 139: Propagate asset details from ResourceManagerHandler to all underlying control types. * 139: Fix missing return value in func sig. * 139: Add examples on how to perform another task after the connection is live. * 139: Add functionality to let ws_medium disconnect. * 139: websockets import should be behind the try import. * 139: Fix typing and linting issues and add docs regarding the verify_certificate and how it prevents security. * 139: Document the send_and_await_reception_status functions for both sync and async. * 139: Add DDBC control type handlers in class based approach.
Fix missing message id override in PPBC classes (#134) * message_id should be available in all ppbc messages, split up type of messages with a message id vs without and ensure that to_dict is json serializable. * Write S2Message and S2MessageWithID as type aliases. * Ensure that setuptools-scm and typing-extensions are available. * to_dict should take a mode and add some unit tests. * json.dumps should work for to_dict if mode is set to json * Split to_dict with json and python modes into separate functions. * Fix typo.
Leverage str, enum capability of Python for any generated enums (#133) * str_enum: Change generation of S2 specification to include the subclass of an enum. * str_enum: Exclude generated files from pyright check. * str_enum: ombc classes should be explicitely exported in init. * str_enum: add missing Any to dict type in S2Parser.
131: Move wrapping of pydantic exceptions for model validate, setattr… …, and model_validate_json to the S2MessageComponent mixin instead of wrapping it using the decorator to preserve classmethod on inheritence for model_validate. (#132) * 131: Move wrapping of pydantic exceptions for model validate, setattr, and model_validate_json to the S2MessageComponent mixin instead of wrapping it using the decorator to preserve classmethod on inheritence for model_validate. * 131: Add unit test case for inheritance of message.
fix: update pydantic requirement to allow higher versions (#76) * fix: update pydantic requirement to allow higher versions Signed-off-by: F.N. Claessen <[email protected]> * chore: release v0.4.1 Signed-off-by: F.N. Claessen <[email protected]> --------- Signed-off-by: F.N. Claessen <[email protected]>
PreviousNext