FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Get blob download_url if not already available by jlowin · Pull Request #1556 · googleapis/google-cloud-python · GitHub

Get blob download_url if not already available - #1556

Closed
jlowin wants to merge 1 commit into
googleapis:masterfrom
jlowin:download-blob
Closed

Get blob download_url if not already available#1556
jlowin wants to merge 1 commit into
googleapis:masterfrom
jlowin:download-blob

Conversation

jlowin commented Mar 2, 2016

Copy link
Copy Markdown

Closes #1555

If media_link isn’t available (meaning this blob is just a placeholder object), query the API for the download_url. Otherwise, the download will fail because self.media_link is None.

googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 2, 2016

jgeewax commented Mar 2, 2016

Copy link
Copy Markdown
Contributor

Thanks for the patch! I think we may want to try doing something slightly different, maybe factoring out the request pieces into blob._load_metadata() or something like that, and then using that method in bucket.get_blob() as well as here...?

I'll let @dhermes chime in here though.

jlowin commented Mar 2, 2016

Copy link
Copy Markdown
Author

Sure, definitely leave it to you guys -- just wanted to highlight the problem area!

jgeewax commented Mar 2, 2016

Copy link
Copy Markdown
Contributor

Totally -- thanks so much for the PR! :)

tseaver commented Mar 2, 2016

Copy link
Copy Markdown
Contributor

Thanks for the patch! #1559 has a slightly cleaner implementation, and adds coverage for the error case.

tseaver closed this Mar 2, 2016
parthea added a commit that referenced this pull request Nov 24, 2025
* chore(deps): update all dependencies

* revert

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea added a commit that referenced this pull request Mar 2, 2026
This PR resolves the following issue when running `librarian generate`.
Librarian now prevents generated files from clobbering existing files.
All generated files must match `remove_regex` otherwise we will see
errotr like `file existed in destination`


```
time=2025-11-06T20:18:57.185Z level=INFO msg="=== Docker end ================================================================="
time=2025-11-06T20:18:57.185Z level=INFO msg="cleaning directories" "source roots"=[.]
time=2025-11-06T20:18:57.200Z level=INFO msg="copying library files" id=google-cloud-pubsub destination=/usr/local/google/home/partheniou/git/python-pubsub source=/tmp/librarian-2318048050/output/google-cloud-pubsub
time=2025-11-06T20:18:57.201Z level=ERROR msg="failed to generate library" id=google-cloud-pubsub err="file existed in destination: /usr/local/google/home/partheniou/git/python-pubsub/.coveragerc"
time=2025-11-06T20:18:57.201Z level=INFO msg="generation statistics" all=1 successes=0 skipped=0 failures=1
time=2025-11-06T20:18:57.201Z level=ERROR msg="librarian command failed" err="all 1 libraries failed to generate (skipped: 0)"
```

Command used

```
librarian generate --generate-unchanged
```
parthea pushed a commit that referenced this pull request Apr 1, 2026
…pby.rolling()` (#1556)

* feat: add  parameter in dataframe/groupby.rolling()

* fix test

* add docs

* update doc

* update docs

* remove on param from windowspec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL