UploadFile class¶
Warning
The current page still doesn't have a translation for this language.
But you can help translating it: Contributing.
This is the reference for the main object UploadFile that contains all the parameters,
attributes and functions.
ravyn.UploadFile
¶
UploadFile(*, file, size=None, filename=None, headers=None)
Bases: DataUpload
Adding pydantic specific functionality for parsing.
Source code in lilya/datastructures.py
730 731 732 733 734 735 736 737 738 739 740 741 | |
write
async
¶
write(data)
Source code in lilya/datastructures.py
747 748 749 750 | |
read
async
¶
read(size=-1)
Source code in lilya/datastructures.py
752 753 | |
seek
async
¶
seek(offset)
Source code in lilya/datastructures.py
755 756 | |
close
async
¶
close()
Source code in lilya/datastructures.py
758 759 | |
validate
classmethod
¶
validate(v)
Source code in ravyn/core/datastructures/base.py
57 58 59 60 61 | |