diff options
| author | A Farzat <a@farzat.xyz> | 2025-08-21 09:41:56 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2025-08-21 09:41:56 +0300 |
| commit | 69bcc9822c82ee6d726c98deafbdd0a20527a55a (patch) | |
| tree | e51ee23b3da922e1baf7bd57f5c724e928c70d86 /data-collection/components/users | |
| parent | b141aa29f28c4e4281415b97dac8fe548b128f9b (diff) | |
| download | csca5028-69bcc9822c82ee6d726c98deafbdd0a20527a55a.tar.gz csca5028-69bcc9822c82ee6d726c98deafbdd0a20527a55a.zip | |
Move components to root directory
Some components might be shared with other applications such as the data
analyser later on.
Diffstat (limited to 'data-collection/components/users')
| -rw-r--r-- | data-collection/components/users/typing.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/data-collection/components/users/typing.py b/data-collection/components/users/typing.py deleted file mode 100644 index f03eecb..0000000 --- a/data-collection/components/users/typing.py +++ /dev/null @@ -1,13 +0,0 @@ -from datetime import datetime -from typing import TypedDict, NamedTuple, List, Tuple -from bson.objectid import ObjectId - -class SubscriptionItem(NamedTuple): - id: str - time_between_fetches: int - last_viewed: datetime - -class UserDict(TypedDict): - id: ObjectId - name: str - subscriptions: List[SubscriptionItem] |
