From e1071317ed262fed3d0d3e60d6fa63ab8580f599 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Mon, 10 Aug 2026 04:39:28 +0200 Subject: [PATCH] Create shell sessions through the async factory ConsoleSession grew an async create and lost its constructor, and ShellSession inherits that. sockapi was updated for the console branch but not the shell branch immediately below it, so opening a shell session raised TypeError. It is the only place in the tree that builds one. --- confluent_server/confluent/sockapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/sockapi.py b/confluent_server/confluent/sockapi.py index 51b5dbdd..b3bcc289 100644 --- a/confluent_server/confluent/sockapi.py +++ b/confluent_server/confluent/sockapi.py @@ -288,7 +288,7 @@ async def start_term(authname, cfm, connection, params, path, authdata, skipauth sessionid = elems[5] else: sessionid = None - consession = shellserver.ShellSession( + consession = await shellserver.ShellSession.create( node=node, configmanager=cfm, username=authname, datacallback=ccons.sendall, skipreplay=skipreplay, sessionid=sessionid, width=params.get('width', 80),