GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Blob upload_from_string AttributeError when using client argument · Issue #286 · 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.
Blob upload_from_string AttributeError when using client argument #286Copy link Copy link Closed Labels api: storageIssues related to the googleapis/python-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DescriptionEnvironment details
Steps to reproduce
Code examplefrom google.cloud import storage from google.cloud.storage.blob import Blob def reproduce_error(): storage_client = storage.Client() blob = Blob.from_string("gs://jdimatteo-gunk/example/upload_from_string_error/reproduce_error.txt") blob.upload_from_string("foo", client=storage_client) def workaround_1(): storage_client = storage.Client() blob = Blob.from_string( "gs://jdimatteo-gunk/example/upload_from_string_error/workaround_1.txt", client=storage_client) blob.upload_from_string("workaround_1\n") def workaround_2(): storage_client = storage.Client() blob = Blob.from_string("gs://jdimatteo-gunk/example/upload_from_string_error/workaround_2.txt") blob.bucket._client = storage_client blob.upload_from_string("workaround_2\n") workaround_1() workaround_2() reproduce_error() Stack traceActivity
MetadataMetadataAssigneesLabelsapi: storageIssues related to the googleapis/python-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. TypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |