original_docstring: Return formatted query from the submitted filters.
docstring: Return formatted query from the submitted filters.
docstring_tokens: Return formatted query from the submitted filters .
code: def _getQuery(self, request):
          """Return formatted query from the submitted filters."""
          q = Conference.query()
          inequality_filter, filters = self._formatFilters(request.filters)
  
          # If exists, sort on inequality filter first
          if not inequality_filter:
              q = q.order(Conference.name)
          else:
              q = q.order(ndb.GenericProperty(inequality_filter))
              q = q.order(Conference.name)
  
          for filtr in filters:
              if filtr["field"] in ["month", "maxAttendees"]:
                  filtr["value"] = int(filtr["value"])
              formatted_query = ndb.query.FilterNode(filtr["field"], filtr["operator"], filtr["value"])
              q = q.filter(formatted_query)
          return q
code_tokens: def _getQuery ( self , request ) : q = Conference . query ( ) inequality_filter , filters = self . _formatFilters ( request . filters ) if not inequality_filter : q = q . order ( Conference . name ) else : q = q . order ( ndb . GenericProperty ( inequality_filter ) ) q = q . order ( Conference . name ) for filtr in filters : if filtr [ "field" ] in [ "month" , "maxAttendees" ] : filtr [ "value" ] = int ( filtr [ "value" ] ) formatted_query = ndb . query . FilterNode ( filtr [ "field" ] , filtr [ "operator" ] , filtr [ "value" ] ) q = q . filter ( formatted_query ) return q
short_docstring: Return formatted query from the submitted filters.
short_docstring_tokens: Return formatted query from the submitted filters .
comment: """Return formatted query from the submitted filters."""$SEP$# If exists, sort on inequality filter first
  