def __init__(self, profile_name=None): """ Initialize main class with this and that. """ logging.debug('Init Graph SDK') s = Session(profile_name) rqagent = s.createAgent() if not rqagent: logging.error('Unable to start base core without valid session.') exit(1) host = s.config.get('aggraph_host') self.host = host self.agent = rqagent
def __init__(self, profile_name=None): """ Initialize main class with this and that. """ logging.info('Init SQM SDK') s = Session(profile_name) host = s.config.get('agapi_host') self.host = f'{host}/sqm' self.s = s
def __init__(self, profile_name=None): """ Initialize main class. """ logging.info('Init support SDK') s = Session(profile_name) host = s.config.get('agapi_host') self.host = f'{host}/support' self.s = s