File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -706,7 +706,7 @@ This method returns a `unicode` string containing the shared link URL.
706706<!-- sample get_files_id get_shared_link -->
707707``` python
708708file_id = ' 11111'
709- shared_link = client.file(file_id).shared_link
709+ shared_link = client.file(file_id).get(). shared_link
710710url = shared_link[' download_url' ]
711711```
712712
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ This method returns a `unicode` string containing the shared link URL.
241241<!-- sample get_folders_id get_shared_link -->
242242``` python
243243folder_id = ' 11111'
244- shared_link = client.folder(folder_id).shared_link
244+ shared_link = client.folder(folder_id).get(). shared_link
245245url = shared_link[' download_url' ]
246246```
247247
@@ -505,4 +505,4 @@ with the ID of the folder lock.
505505client.folder_lock(folder_lock_id = ' 22222' ).delete()
506506```
507507
508- [ delete_folder_lock ] : https://box-python-sdk.readthedocs.io/en/latest/boxsdk.object.html#boxsdk.object.folder_lock.FolderLock
508+ [ delete_folder_lock ] : https://box-python-sdk.readthedocs.io/en/latest/boxsdk.object.html#boxsdk.object.folder_lock.FolderLock
You can’t perform that action at this time.
0 commit comments