fix
This commit is contained in:
parent
e4d4677f3a
commit
97d41587ba
|
|
@ -11,12 +11,11 @@ class ResourceCategory:
|
|||
color: str # 展示颜色 (hex格式,如 #FF5733)
|
||||
created_at: str
|
||||
updated_at: str
|
||||
is_active: bool = True
|
||||
|
||||
# is_cloud false 代表本地资源 那么只加载自己的 如果是 true 就是公用的
|
||||
is_cloud: bool
|
||||
is_cloud: bool = False
|
||||
# 创建用户
|
||||
user_id: str
|
||||
user_id: str = ""
|
||||
is_active: bool = True
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
@ -32,9 +31,9 @@ class MaterialInfo:
|
|||
size: Optional[int] = None
|
||||
|
||||
# is_cloud false 代表本地资源 那么只加载自己的 如果是 true 就是公用的
|
||||
is_cloud: bool
|
||||
is_cloud: bool = False
|
||||
# 创建用户
|
||||
user_id: str
|
||||
user_id: str = ""
|
||||
|
||||
@dataclass
|
||||
class TemplateInfo:
|
||||
|
|
@ -52,6 +51,6 @@ class TemplateInfo:
|
|||
track_count: int
|
||||
tags: List[str]
|
||||
# is_cloud false 代表本地资源 那么只加载自己的 如果是 true 就是公用的
|
||||
is_cloud: bool
|
||||
is_cloud: bool = False
|
||||
# 创建用户
|
||||
user_id: str
|
||||
user_id: str = ""
|
||||
Loading…
Reference in New Issue