Verified Commit e7afe0f2 authored by Власов Иван Юрьевич's avatar Власов Иван Юрьевич :rabbit2:
Browse files

Docstring modified

parent c60b51c4
No related merge requests found
Showing with 2 additions and 7 deletions
+2 -7
......@@ -10,17 +10,12 @@ from starlette.responses import JSONResponse
class ResponseModel(BaseModel):
"""
Base response model, all success responses should be wrapped like this
Attributes
----------
ok : bool
Shows is response contains error
data : any
Dict or Pydantic object with data
"""
ok = True
""" Shows is response contains error """
data: Any
""" Dict or Pydantic object with data """
class Config:
json_encoders = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment