From 72a9b4e51745d5f858dd4e505a6f39b233321339 Mon Sep 17 00:00:00 2001 From: Lewis Blake Date: Sun, 17 Nov 2024 21:35:18 +0100 Subject: [PATCH] minor type hinting --- pyaerocom/aeroval/collections.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyaerocom/aeroval/collections.py b/pyaerocom/aeroval/collections.py index 5694b58a8..487e07c04 100644 --- a/pyaerocom/aeroval/collections.py +++ b/pyaerocom/aeroval/collections.py @@ -101,7 +101,7 @@ def remove_entry(self, key: str): if key in self._entries: del self._entries[key] - def get_entry(self, key) -> ObsEntry: + def get_entry(self, key: str) -> ObsEntry: """ Getter for obs entries @@ -132,7 +132,7 @@ def get_all_vars(self) -> list[str]: vars.extend(ocfg.get_all_vars()) return sorted(list(set(vars))) - def get_web_interface_name(self, key): + def get_web_interface_name(self, key: str) -> str: """ Get webinterface name for entry