import toml
import sys
from typing import Mapping, Set, Dict, Any, Optional
-from functools import cached_property
+try:
+ from functools import cached_property
+except ImportError:
+ # compatability with python < 3.8
+ from cached_property import cached_property
class ConfigParseError(Exception):