def upload_file( file_name: str = '', project_id: int = -1, file_contents: list = None, ): """上传文件""" return ProjectManager.upload_file(file_name, project_id, file_contents)
def create_project(project_name, project_tags=None): """创建项目""" return ProjectManager.create_project(project_name, project_tags)
def export_project(project_id): """导出项目""" return ProjectManager.export_project(project_id)
def delete_project(project_id): """删除项目""" return ProjectManager.delete_project(project_id)
def get_projects(): """获取项目列表""" return ProjectManager.get_projects()
def modify_project_name(project_id, new_name): """修改项目名字""" return ProjectManager.modify_project_name(project_id, new_name)
def get_label_progress(project_id: int): return ProjectManager.get_label_progress(project_id)
def upload_file(project_id: int = -1, file_contents: list = None): """上传文件""" return ProjectManager.upload_file(project_id, file_contents)