code: def pytest_collect_directory(path, parent):
      if path.joinpath("manifest.json").is_file():
          return ManifestDirectory.from_parent(parent=parent, path=path)
      return None
  
imports: import json
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_collect_directory(path, parent) and returns: None, ManifestDirectory