feat: +OPTIONS

This commit is contained in:
莘权 马 2023-08-28 16:48:59 +08:00
parent 6794645ff6
commit 3a1ebf19b7
2 changed files with 37 additions and 39 deletions

View file

@ -5,6 +5,7 @@
@Author : alexanderwu
@File : const.py
"""
import contextvars
from pathlib import Path
@ -35,3 +36,5 @@ TMP = PROJECT_ROOT / 'tmp'
RESEARCH_PATH = DATA_PATH / "research"
MEM_TTL = 24 * 30 * 3600
OPTIONS = contextvars.ContextVar("OPTIONS")