Skip to content

Commit 4fa2acc

Browse files
committed
fix: 修复 Pylance 类型报红
1 parent 7e0b376 commit 4fa2acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def available(self):
7070
async def write_file(self, file: File, content: bytes):
7171
return all(await asyncio.gather(*(asyncio.create_task(storage.write_file(convert_file_to_storage_file(file), content, file.mtime)) for storage in self.available_storages)))
7272

73-
async def get_missing_files(self, files: set[File]):
73+
async def get_missing_files(self, files: set[File]) -> set[File | Any]:
7474
function = None
7575
if function is None:
7676
logger.twarning("cluster.warning.no_check_function")

0 commit comments

Comments
 (0)