You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
334 B
Python

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

"""文件管理相关Schema"""
from apiflask.fields import String, File
from iti.applications.common.utils import BaseSchema
class FileUploadIn(BaseSchema):
"""文件上传输入Schema用于普通上传"""
file = File(required=True)
directory_id = String(required=False)
storage_type = String(required=False)