diff options
Diffstat (limited to 'libmat2/abstract.py')
| -rw-r--r-- | libmat2/abstract.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat2/abstract.py b/libmat2/abstract.py index 5bcaa69..0084796 100644 --- a/libmat2/abstract.py +++ b/libmat2/abstract.py | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | import abc | 1 | import abc |
| 2 | import os | 2 | import os |
| 3 | from typing import Set, Dict | 3 | from typing import Set, Dict, Union |
| 4 | 4 | ||
| 5 | assert Set # make pyflakes happy | 5 | assert Set # make pyflakes happy |
| 6 | 6 | ||
| @@ -22,7 +22,7 @@ class AbstractParser(abc.ABC): | |||
| 22 | self.lightweight_cleaning = False | 22 | self.lightweight_cleaning = False |
| 23 | 23 | ||
| 24 | @abc.abstractmethod | 24 | @abc.abstractmethod |
| 25 | def get_meta(self) -> Dict[str, str]: | 25 | def get_meta(self) -> Dict[str, Union[str, dict]]: |
| 26 | pass # pragma: no cover | 26 | pass # pragma: no cover |
| 27 | 27 | ||
| 28 | @abc.abstractmethod | 28 | @abc.abstractmethod |
