Typing improved

This commit is contained in:
Lukas Klass 2020-05-20 09:12:41 +02:00
parent 2f96407908
commit 872b134ede

View File

@ -209,7 +209,7 @@ class Configuration(object):
mes is not None and error("Configuration check: instrument -> sensor -> " + mes)
@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.