feat(share): expose asset visibility (public/private) - #61
Conversation
Regenerate SDK from spec 0.7.3 and surface the new shareable-asset
visibility support in the client wrapper:
- Share.create() accepts a visibility arg ('public' default, or 'private')
- Share.list() accepts a visibility filter
|
Important Review skippedToo many files! This PR contains 273 files, which is 123 over the limit of 150. To get a review, narrow the scope: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (273)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Regenerate the low-level SDK from the latest API spec (0.7.2 → 0.7.3) and update the client wrapper to surface the new shareable-asset visibility support.
Changes
SDK (generated): spec bump to 0.7.3 adds
visibility(public/private) to shareable assets:CreateShareableAssetRequest— newvisibilityfield (defaultpublic, immutable, enum-validated)list_shareable_assets— newvisibilityquery-param filterShareableAsset— new read-onlyvisibilityfieldClient wrapper (
cloudglue/client/resources/share.py):Share.create()— acceptsvisibility('public'default, or'private'), passed through to the request modelShare.list()— accepts avisibilityfilterupdate()unchanged — visibility cannot be changed after creationNotes
visibilityautomatically (wrapper returns the SDK model directly).0.7.2 → 0.7.3version-string bump across generated files plus thespecsubmodule pointer.