async def main():
async with asyncari.connect(ast_url, ast_app, ast_username, ast_password) as client_:
print(f"TESTTEST2 ast_url: {ast_url}, ast_app: {ast_app}")
global client
client = client_
client.on_channel_event('StasisStart', on_start)
# Run the WebSocket
async for m in client:
print("** EVENT **", m)
if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
anyio.run(main)
App hello is split by commas: code:
LOG:
If I change in asyncari/client.py
apps = ",".join(self._apps)
toapps = self._apps
It works.Could it be a bug