code: def _get_versioning_api() -> VersioningApi:
      configuration = utils.get_api_client_configuration(
          raise_if_no_token_specified=False,
      )
      # Set retries to 0 to avoid waiting for retries in case of a timeout.
      configuration.retries = 0
      api_client = LightlySwaggerApiClient(configuration=configuration)
      versioning_api = VersioningApi(api_client=api_client)
      return versioning_api
  
file_path: lightly/lightly/api/_version_checking.py
imports: from threading import Thread
  from lightly.api import utils
  from lightly.api.swagger_api_client import LightlySwaggerApiClient
  from lightly.openapi_generated.swagger_client.api import VersioningApi
  from lightly.utils import version_compare
label_desc: Use image node_id 6 for calling a global function with example usage: _get_versioning_api() and returns: versioning_api