refactor(JobResponse): attr order

pull/12/head
Cullen Watson 2023-07-11 12:30:13 -05:00
parent b36cfaeca2
commit ff0213978e
1 changed files with 2 additions and 2 deletions

View File

@ -57,11 +57,11 @@ class JobResponse(BaseModel):
success: bool
error: str = None
jobs: list[JobPost] = []
total_results: int = None
returned_results: int = None
jobs: list[JobPost] = []
@validator("returned_results")
def set_returned_results(cls, v, values):
if v is None and values.get("jobs"):