@@ -155,14 +155,14 @@ def __call__(
155155 Fetches the expression results from the database into an np.array or list of dictionaries and
156156 unpacks blob attributes.
157157
158- :param attrs: zero or more attributes to fetch. If not provided, the call will return all attributes of this
158+ :param attrs: zero or more attributes to fetch. If not provided, the call will return all attributes of this
159159 relation. If provided, returns tuples with an entry for each attribute.
160160 :param offset: the number of tuples to skip in the returned result
161161 :param limit: the maximum number of tuples to return
162- :param order_by: a single attribute or the list of attributes to order the results. No ordering should be assumed
163- if order_by=None. To reverse the order, add DESC to the attribute name or names: e.g. ("age DESC",
162+ :param order_by: a single attribute or the list of attributes to order the results. No ordering should be assumed
163+ if order_by=None. To reverse the order, add DESC to the attribute name or names: e.g. ("age DESC",
164164 "frequency") To order by primary key, use "KEY" or "KEY DESC"
165- :param format: Effective when as_dict=None and when attrs is empty None: default from config['fetch_format'] or
165+ :param format: Effective when as_dict=None and when attrs is empty None: default from config['fetch_format'] or
166166 'array' if not configured "array": use numpy.key_array "frame": output pandas.DataFrame. .
167167 :param as_dict: returns a list of dictionaries instead of a record array. Defaults to False for .fetch() and to
168168 True for .fetch('KEY')
@@ -289,10 +289,11 @@ def __call__(
289289 ret = pandas .DataFrame (ret ).set_index (heading .primary_key )
290290 return ret
291291
292+
292293class Fetch1 :
293294 """
294295 Fetch object for fetching the result of a query yielding one row.
295-
296+
296297 :param expression: a query expression to fetch from.
297298 """
298299
0 commit comments