code: def get(self, key, namespace='default', default=None, as_object=False):
          
  
          if namespace in self.__data and key in self.__data[namespace]:
              if as_object:
                  return db.ConfigItem.find_one(
                      ConfigItem.namespace_prefix == namespace,
                      ConfigItem.key == key
                  )
  
              return self.__data[namespace][key]
          else:
              return default
docs: Return the value of a key/namespace pair
  
          Args:
              key (str): Key to return
              namespace (str): Namespace of the key
              default (:obj:`Any`): Optional default value to return, if key was not found
              as_object (bool): If `True` returns the object as a :py:obj:`ConfigItem` object instead of its primitive
              type
  
          Returns:
              Requested value if found, else default value or `None`