summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add pydocstyle linter and apply suggestionsColin Wilk2023-10-091-67/+54
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add pydantic to dataclassesColin Wilk2023-10-022-4/+5
| | | | | | | | | | Verifies the type annotations on the classes. This commit also fixes a bug where an invalid type was returned for suggestions of a Tag. The return type was a dict of a Micro Tag Structure but it was expected to be a string (see szurubooru.py) Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Move tag into dataclass ModuleColin Wilk2023-10-013-20/+47
| | | | | | | | 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>
* Finish implementing tags APIColin Wilk2023-10-011-0/+64
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add Szurubooru __delete helper functionColin Wilk2023-10-011-1/+14
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Initial CommitColin Wilk2023-10-012-0/+691
Signed-off-by: Colin Wilk <colin.wilk@tum.de>