GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove deprecated function download_as_string() in Example Usage · Issue #504 · googleapis/python-storage

This repository was archived by the owner on Mar 31, 2026. It is now read-only.
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Remove deprecated function download_as_string() in Example Usage #504

Copy link
Copy link
Closed
#508
Closed
Remove deprecated function download_as_string() in Example Usage#504
#508
Copy link
Labels
api: storageIssues related to the googleapis/python-storage API.

Description

@richardevs
richardevs
opened on Jul 15, 2021
Issue body actions

download_as_string() is deprecated but still being shown on the Example Usage in README.rst.

Suggest to remove deprecated function download_as_string(), replace with download_as_bytes(). [1]

README.rst

- 101    print(blob.download_as_string())
+ 101    print(blob.download_as_bytes())

[1] https://github.com/googleapis/python-storage/blob/master/google/cloud/storage/blob.py#L138

Activity

  1. product-auto-label
    added
    api: storageIssues related to the googleapis/python-storage API.
    on Jul 15, 2021
  2. parthea commented on Jul 15, 2021

    @parthea
    parthea
    on Jul 15, 2021
    Contributor
    More actions

    Hi @richardevs,

    PRs are welcome!

    Reacted by Richard S. Leung
  3. gcf-merge-on-green
    closed this as completedin #508on Jul 16, 2021
  4. gcf-merge-on-green
    added a commit that references this issue on Jul 16, 2021

    docs: remove and replace deprecated function download_as_string() (#508)

    This issue will close once commit 8dfa4d4 is merged into the 'main' branch.
    8dfa4d4
  5. cojenco
    added 2 commits that reference this issue on Oct 13, 2021

    docs: remove and replace deprecated function download_as_string() (go…

    This issue will close once commit c3e2efd is merged into the 'main' branch.
    c3e2efd

    docs: remove and replace deprecated function download_as_string() (go…

    This issue will close once commit ee46616 is merged into the 'main' branch.
    ee46616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: storageIssues related to the googleapis/python-storage API.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.