class_docstr: Mixin containing operation common for both backend and leaderboard api clients
code: def _get_swagger_client(self, url, http_client):
      return SwaggerClient.from_url(
          url,
          config=dict(
              validate_swagger_spec=False,
              validate_requests=False,
              validate_responses=False,
              formats=[uuid_format],
          ),
          http_client=http_client,
      )
  
file_path: neptune-client/src/neptune/legacy/internal/api_clients/hosted_api_clients/mixins.py
imports: import logging
  import socket
  import sys
  import click
  from bravado.client import SwaggerClient
  from bravado_core.formatter import SwaggerFormat
  from packaging import version
  from six.moves import urllib
  from neptune.legacy.exceptions import CannotResolveHostname, DeprecatedApiToken, UnsupportedClientVersion
  from neptune.legacy.internal.api_clients.client_config import ClientConfig, MultipartConfig
  from neptune.legacy.internal.api_clients.hosted_api_clients.utils import legacy_with_api_exceptions_handler
label_desc: Use image node_id 1 for calling the HostedNeptuneMixin obj's underlying member method code with example usage: obj._get_swagger_client(url, http_client) and returns: SwaggerClient