mirror of
https://github.com/Kludex/awesome-fastapi-projects.git
synced 2025-05-14 05:07:04 +00:00
14 lines
286 B
Python
14 lines
286 B
Python
"""Module contains the models for the application."""
|
|
from typing import NewType
|
|
|
|
from pydantic import BaseModel
|
|
|
|
RepoId = NewType("RepoId", int)
|
|
DependencyId = NewType("DependencyId", int)
|
|
|
|
|
|
class DependencyCreateData(BaseModel):
|
|
"""A dependency of a repository."""
|
|
|
|
name: str
|