@property
    def masks(self):
        masks = self.context.config[self.key]
        if hasattr(self.context, 'db'):
            # update config with storage values
            try:
                value = self.context.db[self]
            except __HOLE__:
                pass
            else:
                if isinstance(value, dict):
                    masks.update(value)
        return masks
dataset/ETHPy150Open gawel/irc3/irc3/plugins/command.py/mask_based_policy.masks