@@ -617,7 +617,7 @@ def get_block_units(self, block_name: str) -> str | None:
617
617
618
618
def _get_pars (
619
619
self , pv_prefix_identifier : str , get_names_from_blockserver : Callable [[], Any ]
620
- ) -> dict [str , PVValue ]:
620
+ ) -> dict [str , " PVValue" ]:
621
621
"""
622
622
Get the current parameter values for a given pv subset as a dictionary.
623
623
"""
@@ -639,7 +639,7 @@ def _get_pars(
639
639
)
640
640
return ans
641
641
642
- def get_sample_pars (self ) -> dict [str , PVValue ]:
642
+ def get_sample_pars (self ) -> dict [str , " PVValue" ]:
643
643
"""
644
644
Get the current sample parameter values as a dictionary.
645
645
"""
@@ -669,7 +669,7 @@ def set_sample_par(self, name: str, value: "PVValue") -> None:
669
669
return
670
670
raise Exception ("Sample parameter %s does not exist" % name )
671
671
672
- def get_beamline_pars (self ) -> dict [str , PVValue ]:
672
+ def get_beamline_pars (self ) -> dict [str , " PVValue" ]:
673
673
"""
674
674
Get the current beamline parameter values as a dictionary.
675
675
"""
@@ -694,7 +694,7 @@ def set_beamline_par(self, name: str, value: "PVValue") -> None:
694
694
return
695
695
raise Exception ("Beamline parameter %s does not exist" % name )
696
696
697
- def get_runcontrol_settings (self , block_name : str ) -> tuple [PVValue , PVValue , PVValue ]:
697
+ def get_runcontrol_settings (self , block_name : str ) -> tuple [" PVValue" , " PVValue" , " PVValue" ]:
698
698
"""
699
699
Gets the current run-control settings for a block.
700
700
@@ -898,7 +898,7 @@ def get_pv_alarm(self, pv_name: str) -> str:
898
898
except Exception :
899
899
return "UNKNOWN"
900
900
901
- def get_block_data (self , block : str , fail_fast : bool = False ) -> dict [str , PVValue ]:
901
+ def get_block_data (self , block : str , fail_fast : bool = False ) -> dict [str , " PVValue" ]:
902
902
"""
903
903
Gets the useful values associated with a block.
904
904
0 commit comments