Docstring Return List of Tuple
import requests
def example_function(list_var, str_var, num_var, request_var):
"""One line function explanation.
:param list_var:
:type list_var: list of str
:param str_var:
:type str_var: str or unicode
:param num_var:
:type num_var: int
:param request_var:
:type request_var: requests.models.Request
:return:
:rtype: (list of dict) or None
"""
return [{}]
example_function(
['a', 'b'],
u'unicode accepted because stated',
1.234,
requests.Request('GET', 'http://going/somewhere')
)
Powerful Partridge