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