Skip to content
Snippets Groups Projects
Commit 949832cb authored by Jan David Mol's avatar Jan David Mol
Browse files

Let power_hierarchy be outmost decorator to work around it failing to be wrapped by device_metrics

parent 16d82c53
No related branches found
No related tags found
No related merge requests found
......@@ -161,6 +161,7 @@ class AttributePoller:
return await self._poll()
@power_hierarchy
@device_logging_to_python()
@device_metrics(
exclude=[
......@@ -172,7 +173,6 @@ class AttributePoller:
"available_in_power_state_R",
]
)
@power_hierarchy
class LOFARDevice(Device):
"""
......
......@@ -30,13 +30,13 @@ logger = logging.getLogger()
__all__ = ["StationManager"]
@power_hierarchy_control
@device_logging_to_python()
@device_metrics(
exclude=[
"last_requested_transition_exceptions_R",
]
)
@power_hierarchy_control
class StationManager(AsyncDevice):
"""StationManager Device Server for LOFAR2.0"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment