Files
kittycad.py/kittycad/models/text_to_cad_iteration_body.py
zoo-github-actions-auth[bot] d724c8e706 Update api spec (#256)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-22 14:11:23 -07:00

18 lines
394 B
Python

from typing import List, Optional
from pydantic import BaseModel, ConfigDict
from ..models.source_range_prompt import SourceRangePrompt
class TextToCadIterationBody(BaseModel):
"""Body for generating models from text."""
original_source_code: str
prompt: Optional[str] = None
source_ranges: List[SourceRangePrompt]
model_config = ConfigDict(protected_namespaces=())