You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
api/app/models/pin.py

10 lines
244 B

from typing import Optional, List
from pydantic import BaseModel
class Pin(BaseModel):
id: Optional[str]
title: str
description: str
location: list
files: Optional[List[str]] = [] # Liste des IDs d'images
user_id: str