def __init__(self, conf):
        """Initialize new instance.

        :param conf: an instance of configuration file
        :type conf: oslo_config.cfg.ConfigOpts
        """
        self.conf = conf
        self.dbi = tinydb.TinyDB(conf.cache.dbfile)
def __init__ ( self , conf ) : self . conf = conf self . dbi = tinydb . TinyDB ( conf . cache . dbfile )
Initialize new instance.

        :param conf: an instance of configuration file
        :type conf: oslo_config.cfg.ConfigOpts