summaryrefslogtreecommitdiff
path: root/data-collection/components/subscriptions.py
blob: 31a050092018ed1d9eeef0a4addf14e2f38da128 (plain) (blame)
1
2
3
4
5
6
7
8
from types import TypedDict
from datetime import datetime

class SubscriptionDict(TypedDict):
    id: str
    link: str
    time_between_fetches: float # In hours.
    last_update: datetime