Skip to content

Commit

Permalink
new fields in the find types
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jan 28, 2016
1 parent c4b091d commit 2aae36d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/quorum/util.py
Expand Up @@ -117,10 +117,13 @@ def to_sort(sort_s):
find_d = to_find,
find_i = bool,
sort = to_sort,
meta = bool
meta = bool,
fields = list
)
""" The map associating the various find fields with
their respective types """
their respective types, note that in case a special
conversion operation is required the associated value
may represent a conversion function instead """

FIND_DEFAULTS = dict(
limit = 10
Expand Down

0 comments on commit 2aae36d

Please sign in to comment.