blob: eebcece528c3c898541971e040f86c6daadd78ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
from datetime import datetime
from typing import TypedDict, List
from bson.objectid import ObjectId
from components.videos import VideoTuple
class SubsDict(TypedDict):
id: str
link: str
time_between_fetches: int # In hours.
last_update: datetime
videos: List[VideoTuple]
subscribers: List[ObjectId]
|