commit | 9be51563fd4de3b6aaac0e536c693c8bae69957c | [log] [tgz] |
---|---|---|
author | Tres Seaver <tseaver@palladion.com> | Wed Nov 19 08:07:46 2014 -0500 |
committer | Tres Seaver <tseaver@palladion.com> | Wed Nov 19 08:07:46 2014 -0500 |
tree | 87f4011b9af951572e4b490d0e39947e3e1581ac | |
parent | 00da26ada7a3bccd27aabb28fa436866b07fd2d1 [diff] |
Use 'hasattr()' rather than 3-arg 'getattr()'. Incorporates feedback from @craigcitro. See: https://github.com/craigcitro/apitools/pull/11/files#r20564006.
apitools
is a collection of utilities to make it easier to build client-side tools, especially those that talk to Google APIs.
pip install apitools
pip install apitools[cli]
pip install apitools[testing]
There are a few imminent large changes:
dict -> dict
as the signature on client methods, doing the proto conversion (and validation!) under the hood.