refactor: rewrite some endpoints to speed up execution

This commit is contained in:
Alexandre Teles
2022-12-26 17:20:58 -03:00
parent b2641b5351
commit c572873f08
16 changed files with 603 additions and 368 deletions

View File

@ -107,3 +107,12 @@ class RevokedTokenResponse(BaseModel):
"""
revoked: bool
class SocialsResponseModel(BaseModel):
"""Implements the JSON response model for the /socials endpoint.
Args:
BaseModel (pydantic.BaseModel): BaseModel from pydantic
"""
__root__: dict[ str, str ]