parameters: (base_url, service_type=enumerations.AUTO, service_id=None)
return_statement: return service
docstring: Return the appropriate remote service handler for the input URL.
      If the service type is not explicitly passed in it will be guessed from
docstring_summary: Return the appropriate remote service handler for the input URL.
      If the service type is not explicitly passed in it will be guessed from
docstring_tokens: Return the appropriate remote service handler for the input URL . If the service type is not explicitly passed in it will be guessed from
function: def get_service_handler(base_url, service_type=enumerations.AUTO, service_id=None):
      """Return the appropriate remote service handler for the input URL.
      If the service type is not explicitly passed in it will be guessed from
      """
      handlers = get_available_service_type()
  
      handler = handlers.get(service_type, {}).get("handler")
      try:
          service = handler(base_url, service_id)
      except Exception:
          logger.exception(
              msg=f"Could not parse service {base_url}")
          raise
      return service
function_tokens: def get_service_handler ( base_url , service_type = enumerations . AUTO , service_id = None ) : handlers = get_available_service_type ( ) handler = handlers . get ( service_type , { } ) . get ( "handler" ) try : service = handler ( base_url , service_id ) except Exception : logger . exception ( msg = f"Could not parse service {base_url}" ) raise return service