Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Get blob download_url if not already available#1556

Closed
jlowin wants to merge 1 commit into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
jlowin:download-blobjlowin/gcloud-python:download-blobCopy head branch name to clipboard
Closed

Get blob download_url if not already available#1556
jlowin wants to merge 1 commit into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
jlowin:download-blobjlowin/gcloud-python:download-blobCopy head branch name to clipboard

Conversation

@jlowin

@jlowin 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 googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 2, 2016
@jgeewax

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

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

jgeewax commented Mar 2, 2016

Copy link
Copy Markdown
Contributor

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

@tseaver

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 tseaver closed this Mar 2, 2016
atulep pushed a commit that referenced this pull request Apr 6, 2023
atulep pushed a commit that referenced this pull request Apr 6, 2023
atulep pushed a commit that referenced this pull request Apr 18, 2023
parthea pushed a commit that referenced this pull request Oct 22, 2023
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
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.