Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor the samples of list_blobs and download_blob_to_file and related files. #5031

@HemangChothani

Description

@HemangChothani

In which file did you encounter the issue?

  • In the storage PR 311 blob.list_blobs() and blob.download_blob_to_file() methods is going to deprecate, so change the sample files accordingly.

Solution

  • Use the methods client.list_blobs() and client.download_blob_to_file() instead of blob.list_blobs() and blob.download_blob_to_file() .

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions