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

Remove __iter__ and __contains__ from Connection in storage #590

Copy link
Copy link
Closed
@dhermes

Description

@dhermes
Issue body actions

@tseaver WDYT?

This is part of a movement towards making Connection more of a background / low-level / raw interface (like it is for datastore).

What's more

for bucket in connection.get_all_buckets():
    ...

seems much more clear than

for bucket in connection:
    ...

We could potentially make up for __contains__ by adding a Bucket.exists method / property.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

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