summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add requirements.txt file accompanying pyproject.tomlColin Wilk2023-10-021-0/+236
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add pydantic to dataclassesColin Wilk2023-10-024-5/+155
| | | | | | | | | | 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-018-0/+1796
Signed-off-by: Colin Wilk <colin.wilk@tum.de>