mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
fix ide warnings
This commit is contained in:
+4
-4
@@ -5,13 +5,13 @@ from pydantic import BaseModel, Field
|
|||||||
|
|
||||||
class Site(BaseModel):
|
class Site(BaseModel):
|
||||||
# ID
|
# ID
|
||||||
id: Optional[int]
|
id: Optional[int] = None
|
||||||
# 站点名称
|
# 站点名称
|
||||||
name: Optional[str]
|
name: Optional[str] = None
|
||||||
# 站点主域名Key
|
# 站点主域名Key
|
||||||
domain: Optional[str]
|
domain: Optional[str] = None
|
||||||
# 站点地址
|
# 站点地址
|
||||||
url: Optional[str]
|
url: Optional[str] = None
|
||||||
# 站点优先级
|
# 站点优先级
|
||||||
pri: Optional[int] = 0
|
pri: Optional[int] = 0
|
||||||
# RSS地址
|
# RSS地址
|
||||||
|
|||||||
Reference in New Issue
Block a user