Typing improved
This commit is contained in:
parent
2f96407908
commit
872b134ede
@ -209,7 +209,7 @@ class Configuration(object):
|
|||||||
mes is not None and error("Configuration check: instrument -> sensor -> " + mes)
|
mes is not None and error("Configuration check: instrument -> sensor -> " + mes)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def __check_optical_components(conf: Union[Entry, list]):
|
def __check_optical_components(conf: Union[Entry, list]) -> Union[None, str]:
|
||||||
"""
|
"""
|
||||||
Check list of optical components in the parsed configuration.
|
Check list of optical components in the parsed configuration.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user