Implement drug refresh and view
This commit is contained in:
1
core/lib/schemas/__init__.py
Normal file
1
core/lib/schemas/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from core.lib.schemas import psychwiki_s # noqa
|
||||
10
core/lib/schemas/psychwiki_s.py
Normal file
10
core/lib/schemas/psychwiki_s.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from pydantic import BaseModel, Extra
|
||||
|
||||
|
||||
class MyModel(BaseModel):
|
||||
class Config:
|
||||
extra = Extra.forbid
|
||||
|
||||
|
||||
# class GetDrugsList(MyModel):
|
||||
# ...
|
||||
Reference in New Issue
Block a user