#!/usr/bin/env python3 # -*-coding:UTF-8 -* """ The ApiKey Module ====================== This module is consuming the Redis-list created by the Categ module. Search for API keys on an item content. """ import re # project packages from module.abstract_module import AbstractModule from packages.Item import Item from lib import regex_helper class ApiKey(AbstractModule): """ApiKey module for AIL framework""" def __init__(self): super(ApiKey, self).__init__() self.redis_cache_key = regex_helper.generate_redis_cache_key(self.module_name) # # TODO: ENUM or dict # TODO improve REGEX #r'(?