File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def export_chats():
114114 rules = current_app .config .get ("EXCLUSION_RULES" ) or []
115115
116116 # ── Database reading via service layer ────────────────────────────────
117- with open_global_db (workspace_path ) as (global_db , global_db_path ):
117+ with open_global_db (workspace_path ) as (global_db , _ ):
118118 if global_db is None :
119119 return jsonify ({"error" : "Cursor global storage not found" }), 404
120120
Original file line number Diff line number Diff line change @@ -19,8 +19,10 @@ def get_cli_workspace_tabs(workspace_id: str):
1919 workspace_id: Workspace id with ``cli:`` prefix (e.g. ``cli:proj-1``).
2020
2121 Returns:
22- ``(jsonify({...}), status)`` tuple suitable for a Flask route handler.
23- Status is 404 when the project is missing, 500 on unexpected errors.
22+ ``flask.Response | tuple[flask.Response, int]`` suitable for a Flask route
23+ handler. Success returns ``jsonify({"tabs": ...})`` (plain ``Response``,
24+ status 200). Errors return ``(jsonify({"error": ...}), status)`` with
25+ 404 when the project is missing or 500 on unexpected failure.
2426 """
2527 try :
2628 project_id = workspace_id [4 :]
You can’t perform that action at this time.
0 commit comments