buffalo_core.diagnostics.DiagnosticLocation
- class buffalo_core.diagnostics.DiagnosticLocation(object_path=None, field_path=None, geometry_region=None)[source]
Bases:
objectOptional 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
Optional logical object or workflow path associated with the diagnostic.
Optional path diagnostic for localizing object.
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_edgeortrailing_edge, when the diagnostic applies to one region of a geometric object.