archastro.platform.types.graph

 1# Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
 2# This file is auto-generated by @archastro/sdk-generator. Do not edit.
 3# Content hash: fd6b31894aef
 4
 5from typing import Any
 6
 7from pydantic import BaseModel, Field
 8
 9
10class GraphValidation(BaseModel):
11    """
12    Schema for graph validation responses
13    """
14
15    error: str | None = Field(
16        default=None, description="Error message if graph construction or validation failed"
17    )
18    findings: list[dict[str, Any]] | None = Field(
19        default=None,
20        description="Structured findings from static analysis (unreachable nodes, dead-ends, cycles)",
21    )
22    ok: bool = Field(..., description="Whether graph construction succeeded")
23    valid: bool | None = Field(
24        default=None, description="Whether the graph passed structural validation and analysis"
25    )
class GraphValidation(pydantic.main.BaseModel):
11class GraphValidation(BaseModel):
12    """
13    Schema for graph validation responses
14    """
15
16    error: str | None = Field(
17        default=None, description="Error message if graph construction or validation failed"
18    )
19    findings: list[dict[str, Any]] | None = Field(
20        default=None,
21        description="Structured findings from static analysis (unreachable nodes, dead-ends, cycles)",
22    )
23    ok: bool = Field(..., description="Whether graph construction succeeded")
24    valid: bool | None = Field(
25        default=None, description="Whether the graph passed structural validation and analysis"
26    )

Schema for graph validation responses

error: str | None = None

Error message if graph construction or validation failed

findings: list[dict[str, typing.Any]] | None = None

Structured findings from static analysis (unreachable nodes, dead-ends, cycles)

ok: bool = PydanticUndefined

Whether graph construction succeeded

valid: bool | None = None

Whether the graph passed structural validation and analysis