def get(self, key: Any, default: Any=None) -> Any:
    'Provide compatibility subscriptable support.'
    try:
        return self.__getitem__(key)
    except NotImplementedError:
        return default
Provide compatibility subscriptable support.
def get(self, key: Any, default: Any=None) -> Any:
    
    try:
        return self.__getitem__(key)
    except NotImplementedError:
        return default