def __init__(self, services=None, verbose=False, responses=None, timeout=None, random_wait_seconds=<NUM_LIT:0>):
if not services:<EOL><INDENT>from moneywagon import ALL_SERVICES<EOL>services = ALL_SERVICES<EOL><DEDENT>self.services = []<EOL>for ServiceClass in services:<EOL><INDENT>self.services.append(<EOL>ServiceClass(verbose=verbose, responses=responses, timeout=timeout)<EOL>)<EOL><DEDENT>self.verbose = verbose<EOL>self._successful_service = None <EOL>self._failed_services = []<EOL>self.random_wait_seconds = random_wait_seconds<EOL>
Each service class is instantiated here so the service instances stay
in scope for the entire life of this object. This way the service
objects can cache responses.