I want to print out every API object I receive on an event.
The code works and looks like below
Code:
async def main():
async with client_session() as session:
client = Client(session)
await client.start()
asyncio.run(main())
The client_session()
is just a function which returns an asyncio ClientSession() object