docs(downloads): add missing await to python-async snippet (#20663)
fixes #20662 --------- Signed-off-by: Max Schmitt <max@schmitt.mx> Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
bcecce6b6e
commit
618bec0107
|
|
@ -48,7 +48,7 @@ download = await download_info.value
|
|||
# Wait for the download process to complete
|
||||
print(await download.path())
|
||||
# Save downloaded file somewhere
|
||||
download.save_as("/path/to/save/download/at.txt")
|
||||
await download.save_as("/path/to/save/download/at.txt")
|
||||
```
|
||||
|
||||
```python sync
|
||||
|
|
|
|||
Loading…
Reference in a new issue