You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add documentation for storage.Blob's special methods (contains, next, etc) #60
The implementation of bucket.__contains__ "wants" a string, but is actually willing to take a string and convert to a key. I would be in favor of dropping that myself, and asking the user to create the key, either via bucket.new_key(name) or by instantiating Key directly.
changed the title [-]Add documentation for storage.Key's special methods (contains, next, etc)[/-][+]Add documentation for storage.Blob's special methods (contains, next, etc)[/+]on Feb 10, 2015
Activity
tseaver commentedon Nov 12, 2014
The implementation of
bucket.__contains__"wants" a string, but is actually willing to take a string and convert to a key. I would be in favor of dropping that myself, and asking the user to create the key, either viabucket.new_key(name)or by instantiatingKeydirectly.jgeewax commentedon Nov 12, 2014
I think it'd be annoying to need to create the key to check for existence -- I kind of like the magical "we know what to do if you pass us a string".
So:
should all return a boolean IMO.
tseaver commentedon Nov 12, 2014
You're in luck then: we already DTRT.
[-]Add documentation for storage.Key's special methods (contains, next, etc)[/-][+]Add documentation for storage.Blob's special methods (contains, next, etc)[/+]Documenting dunder (e.g. __iter__) methods without docstrings.
Attempting ssl verification skipping.
Merge branch 'verifyssl'
Merge branch 'verifyssl'
97 remaining items
chore: remove obsolete replacements in owlbot.py (#60)
Only collapse double-slashes once. (#60)
chore: add custom sync repo settings (#60)
Release v0.4.1 (#60)
feat: add support for overriding `context.engine` by magic argument (#60
feat: pass 'client_options' to base class ctor (#60)
fix: use public pandas APIs where possible (#60)
chore(main): release 0.4.0 (#62)
chore: update templates (#60)
Sort out Query options. (#60)
Nox system test refactor (#60)
dbapi: parse out VALUES format specifiers in groups
dbapi: recognize missing pyformat args in add_missing_id
fix: don't escape collation name (#60)
fix(storage): fix blob metadata to None regression (#60)