mirror of
https://github.com/apache/superset.git
synced 2026-04-16 22:55:52 +00:00
feat: add global task framework (#36368)
This commit is contained in:
@@ -26,7 +26,7 @@ from __future__ import annotations
|
||||
import dataclasses
|
||||
import logging
|
||||
import uuid
|
||||
from typing import Any, TYPE_CHECKING
|
||||
from typing import Any
|
||||
|
||||
import msgpack
|
||||
from celery.exceptions import SoftTimeLimitExceeded
|
||||
@@ -56,9 +56,6 @@ from superset.utils.core import override_user, zlib_compress
|
||||
from superset.utils.dates import now_as_float
|
||||
from superset.utils.decorators import stats_timing
|
||||
|
||||
if TYPE_CHECKING:
|
||||
pass
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
BYTES_IN_MB = 1024 * 1024
|
||||
|
||||
Reference in New Issue
Block a user