Spaces:
Runtime error
Runtime error
Download app/api/scraper/models.py from brestok/eu-scrapper: direct link, hf CLI and curl.
- Browser
- Download file 500 Bytes
-
https://huggingface.co/spaces/brestok/eu-scrapper/resolve/main/app/api/scraper/models.py
- Command line
-
hf download hf://spaces/brestok/eu-scrapper/app/api/scraper/models.py
-
curl -L -o models.py https://huggingface.co/spaces/brestok/eu-scrapper/resolve/main/app/api/scraper/models.py
500 Bytes
| from datetime import datetime | |
| from pydantic import Field | |
| from app.api.scraper.dto import Salary | |
| from app.core.database import MongoBaseModel | |
| class JobModel(MongoBaseModel): | |
| title: str | None = None | |
| company: str | None = None | |
| location: str | None = None | |
| description: str | None = None | |
| requirements: str | None = None | |
| salary: Salary | None = None | |
| isTop5: bool = False | |
| sourceUrl: str | None = None | |
| datetimeInserted: datetime = Field(default_factory=datetime.now) | |