code: def __init__(self, filename, digest, repo, commit, isdirty):
      self.filename = os.path.realpath(filename)
      self.digest = digest
      self.repo = repo
      self.commit = commit
      self.is_dirty = isdirty
  
imports: import functools
  import hashlib
  import os.path
  import re
  import sys
  from pathlib import Path
  import pkg_resources
  import sacred.optional
  from sacred import SETTINGS
  from sacred.utils import iter_prefixes
label_desc: Use image node_id 1 to create a new Source object  with example: obj = Source(filename, digest, repo, commit, isdirty)