I'm trying to make async call using futures and all the responses that i'm getting from future method is <class. concurrent.futures._base.Future> type. How can i apply json.loads and convert these objects to decipher their original returned content?
urls= ['google.com', 'xyz.com' ]
with FutureSession() as Session:
futures= [session.get(url) for url in urls]
for future in futures:
jsonrespon= json.loads(future.text) # this is my blockage. How to interpret future object to json or other data form
future.result()