GeezerVison is showing github.com — Add __getitem__ support to connections and buckets · Issue #63 · googleapis/google-cloud-python
Add __getitem__ support to connections and buckets #63Activitytseaver commented on Nov 7, 2014 Duplicate of #29 (for connections and buckets). I don't think __getitem__ has sensible semantics for keys, given that we are exposing the representation's properties via accessors/mutators in #313. jgeewax commented on Nov 7, 2014 ContributorAuthor More actions So just to clarify:
bucket = connection['bucket-name']
object = bucket['object-name']
property_value = object['meta-data-field-name'] # <-- You're saying this is the one we don't really care about, right?
If we're exposing these meta-data properties via methods, then I'm fine with the conclusion. Might want to update the title of the bug to specify what we're actually "closing" here though, right? changed the title [-]Add __getitem__ support to connections, buckets, and keys[/-] [+]Add __getitem__ support to connections and buckets[/+] on Nov 7, 2014tseaver commented on Nov 7, 2014 Yes, I meant that the object's properties ('contentType', 'etag', etc.) will be exposed via methods or Python properties. #349 is where they actually got implemented.
I updated the title. added 7 commits that reference this issue on Mar 2, 2026This issue will close once commit 485cceb is merged into the 'main' branch.485cceb This issue will close once commit e567cea is merged into the 'main' branch.e567cea This issue will close once commit a869703 is merged into the 'main' branch.a869703 This issue will close once commit 76a1d4a is merged into the 'main' branch.76a1d4a This issue will close once commit 22a9868 is merged into the 'main' branch.22a9868 This issue will close once commit 45d5dd7 is merged into the 'main' branch.45d5dd7 This issue will close once commit 89889ad is merged into the 'main' branch.89889ad added a commit that references this issue on Mar 31, 2026This issue will close once commit 0adda08 is merged into the 'main' branch.0adda08
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|