I am using Python dictionary to store the data:
class Processor: def __init__(self): self.cache = {} async def add(name): data = await get_file