nvflare.tool.agent.inspector module

Public, static Agent Inspector V3 facade.

inspect_data(path: Path | str, *, redact: bool = True, max_files: int = 250, max_file_bytes: int = 524288) → dict[source]

Inspect a local data directory using bounded metadata reads.

inspect_source(path: Path | str, *, redact: bool = True, max_files: int = 250, max_file_bytes: int = 524288) → dict[source]

Inspect local Python source without importing or executing it.