perf: es 修改导入

pull/11062/head
ibuler 1 year ago
parent 148bf3b894
commit 7af769f7d3

@ -2,8 +2,12 @@
#
import datetime
import inspect
import sys
from collections.abc import Iterable
if sys.version_info.major == 3 and sys.version_info.minor >= 10:
from collections.abc import Iterable
else:
from collections import Iterable
from functools import reduce, partial
from itertools import groupby
from uuid import UUID
@ -19,7 +23,6 @@ from common.utils import get_logger
from common.utils.timezone import local_now_date_display
from common.exceptions import JMSException
logger = get_logger(__file__)

Loading…
Cancel
Save