Source code for kittycad.models.batch_response

from typing import Union

from pydantic import RootModel

from .base import KittyCadBaseModel


[docs] class Response(KittyCadBaseModel): """Response to the modeling command."""
[docs] class Errors(KittyCadBaseModel): """Errors that occurred during the modeling command."""
BatchResponse = RootModel[ Union[ Response, Errors, ] ]