made mypy and ruff happy
This commit is contained in:
parent
528cc357f2
commit
aeb41b2eae
2 changed files with 1 additions and 2 deletions
|
@ -410,7 +410,7 @@ async def handle_request_config(data: dict[str, Any]) -> None:
|
|||
|
||||
updated_config = await sources[data["source"]].update_config()
|
||||
if isinstance(updated_config, list):
|
||||
num_chunks: int = len(updated_config)
|
||||
num_chunks = len(updated_config)
|
||||
for current, chunk in enumerate(updated_config):
|
||||
await sio.emit(
|
||||
"config-chunk",
|
||||
|
|
|
@ -5,7 +5,6 @@ Adds it to the ``available_sources`` with the name ``s3``
|
|||
"""
|
||||
|
||||
import asyncio
|
||||
from itertools import zip_longest
|
||||
import os
|
||||
from json import dump, load
|
||||
from typing import TYPE_CHECKING, Any, Optional, Tuple, cast
|
||||
|
|
Loading…
Add table
Reference in a new issue