code: def _save_artifact(self, api: Mock):
      stream = Mock(spec=file_stream.FileStreamApi)
      pusher = file_pusher.FilePusher(api=api, file_stream=stream)
  
      saver = ArtifactSaver(
          api=api,
          digest="abcd",
          manifest_json=make_manifest_json(),
          file_pusher=pusher,
      )
  
      _, fut = saver.save(
          type="my-type",
          name="my-name",
          client_id="my-client-id",
          sequence_client_id="my-sequence-client-id",
          use_after_commit=True,
      )
  
      fut.result()
  
file_path: wandb/tests/pytest_tests/system_tests/test_artifacts/test_artifact_saver.py
imports: from unittest.mock import Mock
  import pytest
  from wandb.sdk.artifacts.artifact_saver import ArtifactSaver
  from wandb.sdk.internal import file_pusher, file_stream, internal_api
label_desc: Use image node_id 1 for calling the TestReraisesErr obj's underlying member method code with example usage: obj._save_artifact(api) without return types