mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
🚨 Make pyright happy (#1840)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from dataclasses import field
|
||||
from typing import Protocol
|
||||
|
||||
from aiocache import cached
|
||||
@@ -99,7 +100,7 @@ class FileInfo(BaseModel):
|
||||
|
||||
type: FileType
|
||||
name: str
|
||||
files: list["FileInfo"] = []
|
||||
files: list["FileInfo"] = field(default_factory=list)
|
||||
|
||||
|
||||
class JsdelivrStrategy:
|
||||
|
||||
Reference in New Issue
Block a user