from zope import interface from zope.interface import Attribute from typing import Dict class IConfiguration(interface.Interface): def get(self, key : str, default) -> Dict: """ Load the mapping for a given key """ def __setitem__(self, key : str, value : Dict) -> None: """ Set a value """