def __init__(self, conf, flows, profile, profiles, operation, desc, lookup, cache=None, environ=None, start_response=None, **kwargs): IO.__init__(self, flows=flows, profile=profile, profiles=profiles, operation=operation, desc=desc, **kwargs) self.conf = conf self.lookup = lookup self.environ = environ self.start_response = start_response self.cache = cache
def __init__(self, conf, flows, desc, profile_handler, profile, lookup, cache=None, environ=None, start_response=None, session=None, **kwargs): IO.__init__(self, flows, profile, desc, profile_handler, cache, session=session, **kwargs) self.conf = conf self.lookup = lookup self.environ = environ self.start_response = start_response
def __init__(self, conf=None, flows=None, profile='', profile_handler=None, desc=None, lookup=None, cache=None, environ=None, start_response=None, **kwargs): IO.__init__(self, flows, profile, desc=desc, profile_handler=profile_handler, cache=cache, **kwargs) self.conf = conf self.lookup = lookup self.environ = environ self.start_response = start_response self.cache = cache self.kwargs = kwargs # TODO: clarify purpose (seems to be similar to conf + additions)