def load(pglot, user_config):
    # pylint: disable=global-statement, unused-argument
    global PGLOT

    # register addresses with server
    http.register(HANDLERS, parent_dir='api')

    # Register Polyglot application
    PGLOT = pglot

    _LOGGER.info('Loaded API element')
setup the API handlers
dataset/ETHPy150Open UniversalDevicesInc/Polyglot/polyglot/element_manager/api.py/load