buffalo_core.DiagnosticLocation

class buffalo_core.DiagnosticLocation(object_path=None, field_path=None, geometry_region=None)[source]

Bases: object

Optional context identifying where a diagnostic applies.

Notes

All fields are optional so the same structure can support coarse workflow-level diagnostics as well as fine-grained field or region localization.

Attributes

object_path

Optional logical object or workflow path associated with the diagnostic.

field_path

Optional path diagnostic for localizing object.

geometry_region

Optional geometry-oriented label.

object_path: str | None

Optional logical object or workflow path associated with the diagnostic.

This can identify a schema object, runtime object, or workflow stage.

field_path: str | None

Optional path diagnostic for localizing object.

This is a field-level or payload-level path that localizes the diagnostic within one object.

geometry_region: str | None

Optional geometry-oriented label.

This label provides additional information, such as leading_edge or trailing_edge, when the diagnostic applies to one region of a geometric object.