aboutsummaryrefslogtreecommitdiff
path: root/interfaces/configuration.py
blob: 9449f41e7f715222a6dd937907d988a233d2b332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
        """