class Processor(object):
    """Process the data and save it to database."""

def __init__(self, credentials):
    """Initialize the class with 'global' variables"""
self.cursor = psycopg2.connect(credentials).cursor()

def __call__(self, data):
    """Do something with the cursor and data"""
self.cursor.find(data.key)
how to use initializer to set up my multiprocess pool?