Skip to content
DeepFOS logo
Home Page FileAPI
Type to start searching
    DeepFOS
    DeepFOS
    • 快速入门
    • 实际案例
    • API 文档
    • 常见问题
    • 异常排查
    • 开发手册
    • 工具手册
    • 如何贡献
    • What’s new
    • 显示源代码

    FileAPI¶

    class deepfos.api.python.FileAPI(root: deepfos.api.base.RootAPI)¶

    python文件的新建,上传,更新逻辑

    add(file)¶

    新建python文件

    参数

    file – PyNewFile

    返回类型

    Union[bool, Awaitable[bool]]

    read(info)¶

    读取文件内容

    参数

    info – PyBaseInfo

    返回类型

    Union[PyNewFileWithError, Awaitable[PyNewFileWithError]]

    update(file)¶

    更新文件内容

    参数

    file – PyNewFile

    返回类型

    Union[bool, Awaitable[bool]]

    © Copyright 2021 deepfos-python.
    Last updated on 2025 年 04 月 28 日.
    Created using Sphinx 4.1.0. and Material for Sphinx