class_docstr: A single entry in an artifact manifest.
class_docstr_tok: ["A","single","entry","in","an","artifact","manifest","."]
code: def __init__(
      self,
      path: StrPath,
      digest: Union[B64MD5, URIStr, FilePathStr, ETag],
      ref: Optional[Union[FilePathStr, URIStr]] = None,
      birth_artifact_id: Optional[str] = None,
      size: Optional[int] = None,
      extra: Optional[Dict] = None,
      local_path: Optional[StrPath] = None,
  ) -> None:
      self.path = LogicalPath(path)
      self.digest = digest
      self.ref = ref
      self.birth_artifact_id = birth_artifact_id
      self.size = size
      self.extra = extra or {}
      self.local_path = str(local_path) if local_path else None
      if self.local_path and self.size is None:
          self.size = Path(self.local_path).stat().st_size
  
file_path: wandb/wandb/sdk/artifacts/artifact_manifest_entry.py
imports: import json
  import os
  from pathlib import Path
  from typing import TYPE_CHECKING, Dict, Optional, Union
  from urllib.parse import urlparse
  from wandb.errors.term import termwarn
  from wandb.sdk.lib import filesystem
  from wandb.sdk.lib.hashutil import B64MD5, ETag, b64_to_hex_id, hex_to_b64_id, md5_file_b64
  from wandb.sdk.lib.paths import FilePathStr, LogicalPath, StrPath, URIStr
label_desc: Use image node_id 1 to create a new ArtifactManifestEntry object  with example: obj = ArtifactManifestEntry(path, digest, ref, birth_artifact_id, size, extra, local_path)