Remove deps from system thing
This commit is contained in:
parent
3332bc5e1d
commit
4a72521531
1 changed files with 2 additions and 2 deletions
|
|
@ -121,9 +121,9 @@ class OpenFlexureSystem(lt.Thing):
|
||||||
return CommandOutput(output=out, error=err)
|
return CommandOutput(output=out, error=err)
|
||||||
|
|
||||||
@lt.action
|
@lt.action
|
||||||
def get_things_state(self, metadata_getter: lt.deps.GetThingStates) -> Mapping:
|
def get_things_state(self) -> Mapping:
|
||||||
"""Metadata summarising the current state of all Things in the server."""
|
"""Metadata summarising the current state of all Things in the server."""
|
||||||
return metadata_getter()
|
return self._thing_server_interface.get_thing_states()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def thing_state(self) -> Mapping[str, Any]:
|
def thing_state(self) -> Mapping[str, Any]:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue