code: def _fixture_kwargs_to_kwargs(
      artifact_id: str = "my-artifact-id",
      artifact_manifest_id: str = "my-artifact-manifest-id",
      entry_path: str = "my-path",
      entry_digest: str = "my-digest",
      entry_local_path: Optional[Path] = None,
      preparer: Optional[StepPrepare] = None,
  ) -> Mapping[str, Any]:
      if preparer is None:
          preparer = mock_preparer()
      return dict(
          artifact_id=artifact_id,
          artifact_manifest_id=artifact_manifest_id,
          entry=ArtifactManifestEntry(
              path=entry_path,
              digest=entry_digest,
              local_path=str(entry_local_path)
              if entry_local_path
              else None,
              size=entry_local_path.stat().st_size
              if entry_local_path
              else None,
          ),
          preparer=preparer if preparer else mock_preparer(),
      )
  
imports: import asyncio
  import functools
  import queue
  import shutil
  import unittest.mock
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Mapping, Optional
  from unittest.mock import Mock
  import pytest
  import requests
  from wandb.filesync.step_prepare import ResponsePrepare, StepPrepare
  from wandb.sdk.artifacts.artifact import Artifact
  from wandb.sdk.artifacts.artifact_file_cache import ArtifactFileCache
  from wandb.sdk.artifacts.artifact_instance_cache import artifact_instance_cache
  from wandb.sdk.artifacts.artifact_manifest_entry import ArtifactManifestEntry
  from wandb.sdk.artifacts.exceptions import ArtifactNotLoggedError
  from wandb.sdk.artifacts.storage_policies.wandb_storage_policy import WandbStoragePolicy
label_desc: Use image node_id 1 for calling the TestStoreFile obj's underlying member method code with example usage: obj._fixture_kwargs_to_kwargs(artifact_id, artifact_manifest_id, entry_path, entry_digest, entry_local_path, preparer) and returns: dict