Skip to content

Commit c58bdb3

Browse files
Remove unused import and move asyncio import to top level
Co-authored-by: Harmanpreet-Microsoft <[email protected]>
1 parent b3cd548 commit c58bdb3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/v4/api/router.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from v4.models.messages import WebsocketMessageType
1212
from auth.auth_utils import get_authenticated_user_details
1313
from common.database.database_factory import DatabaseFactory
14-
from common.utils.github_excel_generator import GitHubExcelGenerator
1514
from v4.common.services.branch_report_service import BranchReportService
1615
from common.models.messages_af import (
1716
InputTask,
@@ -1517,7 +1516,6 @@ async def generate_branch_report(
15171516
# Create a background task to clean up the file after a delay
15181517
async def cleanup_file():
15191518
"""Delete the temporary file after a delay to ensure download completes."""
1520-
import asyncio
15211519
await asyncio.sleep(300) # Wait 5 minutes before cleanup
15221520
try:
15231521
if os.path.exists(output_path):

0 commit comments

Comments
 (0)