# you could try wrapping it in an asyncio, e.g. task = asyncio.create_task(get_language(...)) and then run await task in the text line