code: def _get_swagger_mock():
      swagger_mock = MagicMock()
      swagger_mock.swagger_spec.http_client = MagicMock()
      swagger_mock.swagger_spec.api_url = "ui.neptune.ai"
      swagger_mock.api.createNewArtifact.operation.path_name = (
          "/createNewArtifact"
      )
      swagger_mock.api.uploadArtifactFilesMetadata.operation.path_name = (
          "/uploadArtifactFilesMetadata"
      )
      return swagger_mock
  
file_path: neptune-client/tests/unit/neptune/new/internal/backends/test_hosted_artifact_operations.py
imports: import unittest
  import uuid
  from mock import MagicMock, patch
  from neptune.exceptions import ArtifactUploadingError
  from neptune.internal.artifacts.types import ArtifactFileData
  from neptune.internal.backends.api_model import ArtifactModel
  from neptune.internal.backends.hosted_artifact_operations import track_to_existing_artifact, track_to_new_artifact
label_desc: Use image node_id 7 for calling the TestHostedArtifactOperations obj's underlying member method code with example usage: obj._get_swagger_mock() and returns: swagger_mock