The below function is calling the create_presigned_url but I am getting an error in await.
def getPreSignedURL(request: Request, file: UploadFile = File(...) ):
resp = await create_presigned_url(request,file)
return resp
this is an async function which I want to call
async def create_presigned_url(bucket_name, object_name, expiration=3600):
---
return response