Merge lp:~noise/tanuki-agent/api_example into lp:tanuki-agent
Proposed by
Bret Barker
Status: | Merged |
---|---|
Approved by: | Bret Barker |
Approved revision: | 82 |
Merged at revision: | 79 |
Proposed branch: | lp:~noise/tanuki-agent/api_example |
Merge into: | lp:tanuki-agent |
Diff against target: |
105 lines (+101/-0) 1 file modified
scripts/api_example.py (+101/-0) |
To merge this branch: | bzr merge lp:~noise/tanuki-agent/api_example |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomi Richards (community) | Approve | ||
Review via email: mp+269425@code.launchpad.net |
Commit message
basic api_example.py to replace curl in docs for auth'd requests.
To post a comment you must log in.
This looks OK, but I really think we shouldn't be using docopt - it's not in the standard library, it's not as powerful as argparse, and we're supposed to be trying to avoid external dependencies.
Having said that, I clearly lost that argument already with the agent, and this will feed from the same virtualenv, so.. *shrugs*.