mirror of
https://github.com/tiqi-group/pydase_service_base.git
synced 2025-04-21 08:40:03 +02:00
updates to pydase v0.6.0
This commit is contained in:
parent
25b896ab3c
commit
8b663bc996
@ -22,7 +22,7 @@ class RPCInterface:
|
|||||||
return self._service.__class__.__name__
|
return self._service.__class__.__name__
|
||||||
|
|
||||||
async def get_props(self) -> dict[str, Any]:
|
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:
|
async def get_param(self, full_access_path: str) -> Any:
|
||||||
"""Returns the value of the parameter given by the full_access_path.
|
"""Returns the value of the parameter given by the full_access_path.
|
||||||
|
@ -14,7 +14,7 @@ build-backend = "poetry.core.masonry.api"
|
|||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.10"
|
python = "^3.10"
|
||||||
confz = "^2.0.0"
|
confz = "^2.0.0"
|
||||||
pydase = "*"
|
pydase = ">=0.6.0"
|
||||||
|
|
||||||
# optional dependencies
|
# optional dependencies
|
||||||
tiqi-rpc = { git = "ssh://git@gitlab.phys.ethz.ch/tiqi-projects/tiqi-rpc-python.git", optional = true }
|
tiqi-rpc = { git = "ssh://git@gitlab.phys.ethz.ch/tiqi-projects/tiqi-rpc-python.git", optional = true }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user