# Path: helper/scheduler.py
# def schedule(every):
#     def decorator(task):
#         task.every = every
#         return task
#     return decorator
# 
# Path: helper/utils/dedup/decorators.py
# def dedup(key):
#     def decorator(task):
#         task.dedup_key = key
#         return task
#     return decorator


from datetime import datetime
from celery import shared_task
from django import forms
from helper.scheduler import schedule
from helper.utils.dedup.decorators import dedup
import requests



time_ranges = {
    'both': [(7, 10, 0, 5), (16, 19, 0, 5)],
    'morning': [(7, 10, 0, 5)],
    'evening': [(16, 19, 0, 5)],
    'always': [(0, 24, 0, 8)],
}



# Path: helper/scheduler.py
# def schedule(every):
#     def decorator(task):
#         task.every = every
#         return task
#     return decorator
# 
# Path: helper/utils/dedup/decorators.py
# def dedup(key):
#     def decorator(task):
#         task.dedup_key = key
#         return task
#     return decorator


# Path: helper/agents/wmata/tasks.py
from datetime import datetime
from celery import shared_task
from django import forms
from helper.scheduler import schedule
from helper.utils.dedup.decorators import dedup
import requests




time_ranges = {
    'both': [(7, 10, 0, 5), (16, 19, 0, 5)],
    'morning': [(7, 10, 0, 5)],
    'evening': [(16, 19, 0, 5)],
    'always': [(0, 24, 0, 8)],
}



@dedup('id')