You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
156 B
Python
11 lines
156 B
Python
8 months ago
|
from pydantic import BaseModel, Extra
|
||
|
|
||
|
|
||
|
class MyModel(BaseModel):
|
||
|
class Config:
|
||
|
extra = Extra.forbid
|
||
|
|
||
|
|
||
|
# class GetDrugsList(MyModel):
|
||
|
# ...
|