Refactor backend and frontend cleanup paths
This commit is contained in:
@@ -11,10 +11,8 @@ Design notes:
|
||||
- D-14: presigned_get_url and generate_presigned_put_url raise
|
||||
NotImplementedError. The API upload endpoint detects cloud backends and
|
||||
uses the direct put_object() path instead.
|
||||
- B2 design: This backend is STATELESS. It raises CloudConnectionError but
|
||||
does NOT update the DB or CloudConnection objects. DB state transitions
|
||||
(e.g., REQUIRES_REAUTH) are handled by the _call_cloud_op() helper in
|
||||
cloud.py (Plan 05-05), which has the DB session.
|
||||
- This backend is stateless. It raises CloudConnectionError but does not
|
||||
update the DB or CloudConnection objects.
|
||||
- Token key format stored in credentials dict:
|
||||
access_token — current OAuth bearer token
|
||||
refresh_token — long-lived refresh token
|
||||
|
||||
Reference in New Issue
Block a user