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:
Abe Hanoka 2023-02-06 08:26:48 -05:00 committed by GitHub
parent bcecce6b6e
commit 618bec0107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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