mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-05 20:14:32 -08:00
refactor(jobs): switch bad response handling to use fastapi.HTTPException
This commit is contained in:
@@ -48,12 +48,12 @@ class Delivery(BaseModel):
|
||||
|
||||
class JobPost(BaseModel):
|
||||
title: str
|
||||
description: str = None
|
||||
company_name: str
|
||||
location: Location
|
||||
description: str = None
|
||||
job_type: JobType = None
|
||||
compensation: Compensation = None
|
||||
date_posted: datetime
|
||||
date_posted: datetime = None
|
||||
delivery: Delivery = None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user