FilePyAPI¶
- class deepfos.api.platform.FilePyAPI(root: deepfos.api.base.RootAPI)¶
- python_file_delete(deleteFileDTOList)¶
python文件删除接口
文件名称和路径都必填
- 参数
deleteFileDTOList –
List[DeleteFileDTO]- 返回类型
Union[List[FileDeleteResultVO],Awaitable[List[FileDeleteResultVO]]]
- read_file(readFileDto)¶
python文件读取内容接口
文件名称和路径都必填
- 参数
readFileDto –
ReadFileDTO- 返回类型
Union[FileReadResultVO,Awaitable[FileReadResultVO]]
- upload_file(file_upload)¶
python文件上传更新接口
上传新的python文件的内容参数不能为空,文件与文件内容不可同时为空
- 参数
file_upload –
FileReadResultVO- 返回类型