Update comments of api template of python client

This commit is contained in:
geekerzp
2015-07-18 15:54:00 +08:00
parent 195c71da37
commit 68820e5a80
4 changed files with 42 additions and 63 deletions

View File

@@ -50,9 +50,8 @@ class {{classname}}(object):
{{{summary}}}
{{{notes}}}
This method makes a synchronous HTTP request by default.
To make an asynchronous HTTP request,
please define a `callback` function
This method makes a synchronous HTTP request by default.To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)