main.py
unknown
python
a year ago
485 B
11
Indexable
#File: main.py
#Add to the top of the file (Imports and Mock Data)
from datetime import datetime
# Mock data for users and jobs
mock_users = [
{"id": 1, "username": "user1", "email": "user1@example.com"},
{"id": 2, "username": "user2", "email": "user2@example.com"},
]
mock_jobs = [
{"id": 1, "job_name": "Job 1", "created_at": "2023-01-01T00:00:00", "status": "completed"},
{"id": 2, "job_name": "Job 2", "created_at": "2023-01-02T00:00:00", "status": "pending"},
]Editor is loading...
Leave a Comment