Spaces:
Sleeping
Sleeping
from pydantic import BaseModel, HttpUrl | |
from typing import Sequence | |
class MyDataModel(BaseModel): | |
id: int | |
text: str | |
description: str | |
class MyDataSearchResults(BaseModel): | |
results: Sequence[MyDataModel] | |
class CreateMyDataModelEntity(BaseModel): | |
id: int | |
text: str | |
description: str |