From 3088d2bc663ce622149315fb8c8316427c5c14f7 Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Wed, 20 May 2020 09:12:55 +0200 Subject: [PATCH] Typing improved --- esbo_etc/classes/Entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esbo_etc/classes/Entry.py b/esbo_etc/classes/Entry.py index c331252..3d88391 100644 --- a/esbo_etc/classes/Entry.py +++ b/esbo_etc/classes/Entry.py @@ -84,7 +84,7 @@ class Entry(object): "' but got unit '" + attr.unit.to_string() + "'." return None - def check_selection(self, name, choices: list) -> Union[None, str]: + def check_selection(self, name: str, choices: list) -> Union[None, str]: """ Check a parameter against a list of possible choices. In case of a mismatch, a recommendation will be given.