chore: reformat

This commit is contained in:
Yeuoly 2024-12-04 19:02:28 +08:00
parent ee38bd8817
commit 0af9c4fd9d
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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