Closed ryoryo25 closed 3 months ago
Hi! Thank you for contributing! I saw that many people looking for this method. Backward compatibility is awesome. A few notes before deep diving into code:
Thank you for reviewing my code! I revised the following parts you mentioned.
asyncio.gather
uploads = [self.upload_blob(i) for i in images]
converts to
uploads = asyncio.gather(*[self.upload_blob(i) for i in images])
I've fixed the parts you mentioned. I think CI would be passed.
Description
I've added a function
send_images
to send a post with multiple attached images.Changes
send_images
to class Client & AsyncClientsend_image
usingsend_images
(to keep backward compatibility)send_images