# Path: kibitzr/stash.py
# class LazyStash(Stash):
#     def __init__(self):
#         self._stashobj = None
# 
#     @property
#     def _stash(self):
#         if self._stashobj is None:
#             self._stashobj = self.read()
#         return self._stashobj
# 
#     def __getitem__(self, key):
#         return self._stash[key]
# 
#     def get(self, key, default=None):
#         try:
#             return self._stash[key]
#         except KeyError:
#             return default
# 
# Path: kibitzr/conf.py
# def settings():
#     """
#     Returns singleton instance of settings
#     """
#     return ReloadableSettings.instance()


import logging
from kibitzr.stash import LazyStash
from ..conf import settings



logger = logging.getLogger(__name__)
NAME = 'python'


class PythonNotify(object):

    def __init__(self, conf, value):
        self.code = value
        self.context = {
            'conf': conf,

# Path: kibitzr/stash.py
# class LazyStash(Stash):
#     def __init__(self):
#         self._stashobj = None
# 
#     @property
#     def _stash(self):
#         if self._stashobj is None:
#             self._stashobj = self.read()
#         return self._stashobj
# 
#     def __getitem__(self, key):
#         return self._stash[key]
# 
#     def get(self, key, default=None):
#         try:
#             return self._stash[key]
#         except KeyError:
#             return default
# 
# Path: kibitzr/conf.py
# def settings():
#     """
#     Returns singleton instance of settings
#     """
#     return ReloadableSettings.instance()


# Path: kibitzr/notifier/custom.py
import logging
from kibitzr.stash import LazyStash
from ..conf import settings




logger = logging.getLogger(__name__)
NAME = 'python'


class PythonNotify(object):

    def __init__(self, conf, value):
        self.code = value
        self.context = {
            'conf': conf,

            'creds': settings().creds,