Docstring документация моделей сервера
This commit is contained in:
parent
d80adfb2e0
commit
1b0d18b681
7 changed files with 184 additions and 13 deletions
11
SRV/models/request.py
Normal file
11
SRV/models/request.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class NoteRequest(BaseModel):
|
||||
"""
|
||||
Модель добавления заметки к просканированному устройству
|
||||
|
||||
Атрибуты:
|
||||
note (str): Заметка устройства
|
||||
"""
|
||||
note: str
|
||||
Loading…
Add table
Add a link
Reference in a new issue