bdf.validate#

bdf.validate(obj, *, report: bool = False, raise_on_error: bool = False, registry_path: str | Path | None = None)[source]#

Validate a BDF DataFrame, a local file path, an HTTP/HTTPS URL, or a dataset id.

Behavior:
  • DataFrame: validate as-is (no transformations).

  • Path/URL/id: only treated as a BDF artifact (strict). We do NOT vendor-parse or normalize here. If it doesn’t look like BDF, you’ll get an ‘ok=False’ report.

Returns:

{“ok”: True, “issues”: […]} or {“ok”: False, “kind”: “…”, “detail”: “…”}

Return type:

dict report with at least