refac
This commit is contained in:
1 parent
c79ff81f55
commit
1413ce4a52
7 files changed
+693
-661
No files matched your search
@@ -2678,7 +2678,7 @@ async def register_client(request, client_id: str) -> bool:
|
||||
'oauth_client_info': encrypt_data(oauth_client_info.model_dump(mode='json')),
|
||||
},
|
||||
}
|
||||
# Re-assign the full list to trigger AppConfig.__setattr__ → PersistentConfig.save()
|
||||
# Re-assign the full list to trigger AppConfig.__setattr__ → ConfigVar.save()
|
||||
# (in-place list mutation via list[idx] = ... does not trigger __setattr__)
|
||||
request.app.state.config.TOOL_SERVER_CONNECTIONS = connections
|
||||
except Exception as e:
|
||||
|
||||
Reference in new issue
Block a user