mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 00:36:03 +00:00
style: restrict line-length
This commit is contained in:
@@ -23,10 +23,7 @@ class SessionManager:
|
||||
async def get_session(self, query: core_entities.Query) -> core_entities.Session:
|
||||
"""获取会话"""
|
||||
for session in self.session_list:
|
||||
if (
|
||||
query.launcher_type == session.launcher_type
|
||||
and query.launcher_id == session.launcher_id
|
||||
):
|
||||
if query.launcher_type == session.launcher_type and query.launcher_id == session.launcher_id:
|
||||
return session
|
||||
|
||||
session_concurrency = self.ap.instance_config.data['concurrency']['session']
|
||||
|
||||
Reference in New Issue
Block a user