You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
B2 SDK docs: file-retention examples call update_file_legal_hold with the wrong setting type #585
The Quick Start guide passes a FileRetentionSetting to B2Api.update_file_legal_hold. The documented equivalent calls in the direct-file section repeat the same mistake. Retention settings belong to update_file_retention.
The guide should call update_file_legal_hold(..., LegalHold.ON) for legal holds and update_file_retention(..., FileRetentionSetting(...)) for retention.
Actual behavior
The guide sends a retention object to a method whose public signature requires a LegalHold value.
Activity