aboutsummaryrefslogtreecommitdiffstats
path: root/app/Item.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-09-01 19:31:47 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-09-10 19:01:00 +0300
commit398799de0c1826c3544eb6eec681fa48096932a0 (patch)
treec2a2cf7fcf30276ffc432e7a1750efd6b7d2c8bf /app/Item.py
parentb7f129b29b8b8103336bfae265b3d5a0bc5ea03a (diff)
Refactor
Diffstat (limited to 'app/Item.py')
-rw-r--r--app/Item.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Item.py b/app/Item.py
new file mode 100644
index 0000000..e74239f
--- /dev/null
+++ b/app/Item.py
@@ -0,0 +1,10 @@
+from dataclasses import dataclass
+
+
+@dataclass
+class Item:
+ """RSS Item"""
+
+ title: str
+ link: str
+ description: str