summaryrefslogtreecommitdiffstats
path: root/src/lib/tag.py
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-10-01 19:46:53 +0200
committerColin Wilk <colin.wilk@tum.de>2023-10-01 19:46:53 +0200
commit45301553e15e95afe3139f8efa4885c1462d436d (patch)
treeba8daa69798289e61682d55f429908fdfec3a8e4 /src/lib/tag.py
parent2c20f1ce8d7ee990af6d7c24d41bc32aa08c768b (diff)
downloadszuruboorupy-45301553e15e95afe3139f8efa4885c1462d436d.tar.gz
szuruboorupy-45301553e15e95afe3139f8efa4885c1462d436d.zip
Move tag into dataclass Module
Additionally change the description of the Tag modules (and other dataclass modules) to match the description from the Szurubooru API reference. Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'src/lib/tag.py')
-rw-r--r--src/lib/tag.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/tag.py b/src/lib/tag.py
deleted file mode 100644
index d4f11ed..0000000
--- a/src/lib/tag.py
+++ /dev/null
@@ -1,19 +0,0 @@
-"""
-Tag Module for mapping Szurubooru posts to tags
-"""
-
-
-from dataclasses import dataclass, field
-from typing import List
-
-
-@dataclass
-class Tag:
- """Data class representing a tag"""
-
- name: str
- version: int = -1
- description: str = ""
- category: str = "General"
- implications: List[str] = field(default_factory=list)
- suggestions: List[str] = field(default_factory=list)