Skip to content

Commit 7a165e8

Browse files
committed
style: unify package importing
1 parent e3a8b68 commit 7a165e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ack_inspect_handler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from alibabacloud_tea_util import models as util_models
77
import asyncio
88
import time
9-
from datetime import datetime
9+
from datetime import datetime, timedelta
1010
from typing import Dict, Any, Optional, List
1111
from models import (
1212
ErrorModel,
@@ -280,7 +280,6 @@ async def wait_for_inspect_completion(
280280
Returns:
281281
巡检报告结果,当状态为completed或failed时返回最终结果
282282
"""
283-
from datetime import timedelta
284283
start_time = datetime.now()
285284
max_end_time = start_time + timedelta(seconds=max_wait_time)
286285
poll_count = 0

0 commit comments

Comments
 (0)