summary refs log tree commit diff stats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/__pycache__/types.cpython-311.pycbin403 -> 641 bytes
-rw-r--r--common/types.py15
2 files changed, 15 insertions, 0 deletions
diff --git a/common/__pycache__/types.cpython-311.pyc b/common/__pycache__/types.cpython-311.pyc
index 3d7bbd1..131488c 100644
--- a/common/__pycache__/types.cpython-311.pyc
+++ b/common/__pycache__/types.cpython-311.pyc
Binary files differdiff --git a/common/types.py b/common/types.py
index e9716b1..b28b457 100644
--- a/common/types.py
+++ b/common/types.py
@@ -14,3 +14,18 @@ question_category = Literal[
     "Other Academic",
     "Trash",
 ]
+
+category_field_translations = {
+    'Literature': 'literature',
+    'History': 'history',
+    'Science': 'science',
+    'Fine Arts': 'fine_arts',
+    'Religion': 'religion',
+    'Mythology': 'mythology',
+    'Philosophy': 'philosophy',
+    'Social Science': 'social_science',
+    'Current Events': 'current_events',
+    'Geography': 'geography',
+    'Other Academic': 'other_academic',
+    'Trash': 'trash'
+}