mirror of
https://github.com/langgenius/dify.git
synced 2026-11-11 05:41:09 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: yunlu.wen <yunlu.wen@dify.ai> Co-authored-by: twwu <twwu@dify.ai>
11 lines
229 B
Python
11 lines
229 B
Python
"""Resource access token vocabulary shared by persistence and application services."""
|
|
|
|
from enum import StrEnum
|
|
|
|
TOKEN_PREFIX = "sk-"
|
|
|
|
|
|
class ResourceAccessTokenResourceType(StrEnum):
|
|
APP = "app"
|
|
KNOWLEDGE = "knowledge"
|