mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-20 01:29:04 +08:00
chore: reformat
This commit is contained in:
parent
ee38bd8817
commit
0af9c4fd9d
@ -9,7 +9,7 @@ import uuid
|
|||||||
from collections.abc import Generator
|
from collections.abc import Generator
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from hashlib import sha256
|
from hashlib import sha256
|
||||||
from typing import Any, Optional, Union, TYPE_CHECKING
|
from typing import TYPE_CHECKING, Any, Optional, Union
|
||||||
|
|
||||||
from flask import Response, stream_with_context
|
from flask import Response, stream_with_context
|
||||||
from flask_restful import fields
|
from flask_restful import fields
|
||||||
|
@ -32,7 +32,7 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
IMPORT_INFO_REDIS_KEY_PREFIX = "app_import_info:"
|
IMPORT_INFO_REDIS_KEY_PREFIX = "app_import_info:"
|
||||||
CHECK_DEPENDENCIES_REDIS_KEY_PREFIX = "app_check_dependencies:"
|
CHECK_DEPENDENCIES_REDIS_KEY_PREFIX = "app_check_dependencies:"
|
||||||
IMPORT_INFO_REDIS_EXPIRY = 10 * 60 # 10 minutes
|
IMPORT_INFO_REDIS_EXPIRY = 10 * 60 # 10 minutes
|
||||||
CURRENT_DSL_VERSION = "0.1.4"
|
CURRENT_DSL_VERSION = "0.1.4"
|
||||||
DSL_MAX_SIZE = 10 * 1024 * 1024 # 10MB
|
DSL_MAX_SIZE = 10 * 1024 * 1024 # 10MB
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user