From 8b663bc996fbb5fa9a55733bdf7b62e97cfd97e5 Mon Sep 17 00:00:00 2001 From: Mose Mueller Date: Thu, 1 Feb 2024 10:03:08 +0100 Subject: [PATCH] updates to pydase v0.6.0 --- icon_service_base/ionizer_interface/rpc_interface.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/icon_service_base/ionizer_interface/rpc_interface.py b/icon_service_base/ionizer_interface/rpc_interface.py index 0b1a513..354d3cc 100644 --- a/icon_service_base/ionizer_interface/rpc_interface.py +++ b/icon_service_base/ionizer_interface/rpc_interface.py @@ -22,7 +22,7 @@ class RPCInterface: return self._service.__class__.__name__ async def get_props(self) -> dict[str, Any]: - return self._service.serialize() + return self._service.serialize()["value"] async def get_param(self, full_access_path: str) -> Any: """Returns the value of the parameter given by the full_access_path. diff --git a/pyproject.toml b/pyproject.toml index 7723c6c..0c591a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry.dependencies] python = "^3.10" confz = "^2.0.0" -pydase = "*" +pydase = ">=0.6.0" # optional dependencies tiqi-rpc = { git = "ssh://git@gitlab.phys.ethz.ch/tiqi-projects/tiqi-rpc-python.git", optional = true }