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>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-08-22 14:11:23 -07:00
committed by GitHub
parent 48de213887
commit d724c8e706
25 changed files with 2431 additions and 1510 deletions

View File

@ -0,0 +1,17 @@
from typing import List, Optional
from pydantic import BaseModel, ConfigDict
from ..models.source_range_prompt import SourceRangePrompt
class MlPromptMetadata(BaseModel):
"""Metadata for a ML prompt."""
code: Optional[str] = None
original_source_code: Optional[str] = None
source_ranges: Optional[List[SourceRangePrompt]] = None
model_config = ConfigDict(protected_namespaces=())