Compare commits
2 commits
adbb2d532b
...
1f57ba4c95
Author | SHA1 | Date | |
---|---|---|---|
1f57ba4c95 | |||
87c717ebe8 |
2 changed files with 3 additions and 1 deletions
|
@ -97,6 +97,7 @@ class Post:
|
||||||
class TagCategory(enum.IntEnum):
|
class TagCategory(enum.IntEnum):
|
||||||
GENERAL = 0
|
GENERAL = 0
|
||||||
ARTIST = 1
|
ARTIST = 1
|
||||||
|
CONTRIBUTOR = 2
|
||||||
COPYRIGHT = 3
|
COPYRIGHT = 3
|
||||||
CHARACTER = 4
|
CHARACTER = 4
|
||||||
SPECIES = 5
|
SPECIES = 5
|
||||||
|
@ -108,6 +109,7 @@ class TagCategory(enum.IntEnum):
|
||||||
return {
|
return {
|
||||||
self.GENERAL: "general",
|
self.GENERAL: "general",
|
||||||
self.ARTIST: "artist",
|
self.ARTIST: "artist",
|
||||||
|
self.CONTRIBUTOR: "contributor",
|
||||||
self.COPYRIGHT: "copyright",
|
self.COPYRIGHT: "copyright",
|
||||||
self.CHARACTER: "character",
|
self.CHARACTER: "character",
|
||||||
self.METADATA: "meta",
|
self.METADATA: "meta",
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
aiohttp==3.9.1
|
aiohttp==3.9.1
|
||||||
aiosqlite==0.19.0
|
aiosqlite==0.19.0
|
||||||
Quart==0.19.4
|
Quart==0.19.9
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue