Asynchronously upload images to Cloudinary using the Python API
Clash Royale CLAN TAG #URR8PPP Asynchronously upload images to Cloudinary using the Python API I am trying to asynchronously upload images to Cloudinary using their Python API. Their documentation states the following is required to upload an image. result = cloudinary.uploader.upload(file, **options) Since, I would like to upload asynchronously, it appears I need to set the "async" option to True (also in the documentation). async (Boolean): Tells Cloudinary whether to perform the upload request in the background (asynchronously). Default: false. Since options has **, as explained in this SO post, I assume that the function accepts keyword arguments like so. response = await cloudinary.uploader.upload(img, async=True) However, when I run my script, I get the following error: File "async_upload.py", line 16 response = await cloudinary.uploader.upload(img, async=True) ^ SyntaxError: invalid syntax How d...