@defineclassFile:"""Contains information for file uploads"""payload:BinaryIOfile_name:Optional[str]=Nonemime_type:Optional[str]=Nonedefto_tuple(self)->FileJsonType:"""Return a tuple representation that httpx will accept for multipart/form-data"""returnself.file_name,self.payload,self.mime_type
to_tuple
to_tuple()->FileJsonType
Return a tuple representation that httpx will accept for multipart/form-data
defto_tuple(self)->FileJsonType:"""Return a tuple representation that httpx will accept for multipart/form-data"""returnself.file_name,self.payload,self.mime_type