mirror of
https://github.com/jaypyles/Scraperr.git
synced 2025-11-12 04:15:39 +00:00
* chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: refactor wip * chore: work in progress * chore: refactor wip * chore: refactor wip * chore: refactor wip * fix: build * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests
18 lines
395 B
Python
18 lines
395 B
Python
from typing import Optional, Union
|
|
from datetime import datetime
|
|
import pydantic
|
|
|
|
|
|
class CronJob(pydantic.BaseModel):
|
|
id: Optional[str] = None
|
|
user_email: str
|
|
job_id: str
|
|
cron_expression: str
|
|
time_created: Optional[Union[datetime, str]] = None
|
|
time_updated: Optional[Union[datetime, str]] = None
|
|
|
|
|
|
class DeleteCronJob(pydantic.BaseModel):
|
|
id: str
|
|
user_email: str
|