Alternative to pending_upload when using sharing_create_shared_link_with_settings?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start with dropbox/base.py around the deprecated sharing_create_shared_link definition and compare it with sharing_create_shared_link_with_settings. Check the generated API surface and any related tests or documentation for pending_upload behavior. Done means identifying a supported non-deprecated path or documenting that the behavior is unavailable; the issue has no named test or implementation target.
Written by the indexing model from the issue text.
Description
The method sharing_create_shared_link has a pending_upload argument which you can use to ask Dropbox to generate a url for a file or folder which is still in the process of being uploaded. If you do this and then use the link before the file is fully uploaded, you see a nice "This file cannot be previewed" UI, showing a zero-byte file. Once the file upload is complete, you can use the URL to share as you would any other generated URL.
This is fine, but sharing_create_shared_link is marked as deprecated and has been replaced by sharing_create_shared_link_with_settings. The new method doesn't have the pending_upload argument, nor does there seem to be any setting which you can pass in to get the same behavior.
So my question is: how do I get a shared link from a pending upload using non-deprecated API? I am not doing any uploading myself, I just have a script which generates shared links. So I can't do a zero-length upload because it could clobber the in-progress one which I have no control over.
Versions
- What version of the SDK are you using? Python SDK 11.36.0
- What version of the language are you using? Python 3.9.6
- What platform are you using? macOS 12.6.6
- Dominant language
- Python
- Stars
- 983
- Forks
- 331
- Avg merge
- 3m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dropbox/dropbox-sdk-python
-
question
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dropbox/dropbox-sdk-python#585 · 4 comments ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dropbox/dropbox-sdk-python#491 · 1 comment ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dropbox/dropbox-sdk-python#482 · 1 comment · 2 reactions ·
-
bug
Difficulty 5/5 Over a week Newbie friendliness 20/100
dropbox/dropbox-sdk-python#475 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 50/100
dropbox/dropbox-sdk-python#459 · 4 comments · 1 reaction ·
All issues in dropbox/dropbox-sdk-python
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·