class_docstr: Invokes a :class:`.BakedQuery` against a :class:`.Session`.
  
  The :class:`_baked.Result` object is where the actual :class:`.query.Query`
  object gets created, or retrieved from the cache,
  against a target :class:`.Session`, and is then invoked for results.
class_docstr_tok: ["Invokes","a",":","class",":","`",".BakedQuery","`","against","a",":","class",":","`",".Session","`",".","The",":","class",":","`","_baked.Result","`","object","is","where","the","actual",":","class",":","`",".query.Query","`","object","gets","created",",","or","retrieved","from","the","cache",",","against","a","target",":","class",":","`",".Session","`",",","and","is","then","invoked","for","results","."]
docstr: Add a criteria function that will be applied post-cache.
  
  This adds a function that will be run against the
  :class:`_query.Query` object after it is retrieved from the
  cache.    This currently includes **only** the
  :meth:`_query.Query.params` and :meth:`_query.Query.execution_options`
  methods.
  
  .. warning::  :meth:`_baked.Result.with_post_criteria`
     functions are applied
     to the :class:`_query.Query`
     object **after** the query's SQL statement
     object has been retrieved from the cache.   Only
     :meth:`_query.Query.params` and
     :meth:`_query.Query.execution_options`
     methods should be used.
  
  
  .. versionadded:: 1.2
docstr_tok: ["Add","a","criteria","function","that","will","be","applied","post-cache",".","This","adds","a","function","that","will","be","run","against","the",":","class",":","`","_query.Query","`","object","after","it","is","retrieved","from","the","cache",".","This","currently","includes","*","*","only","*","*","the",":","meth",":","`","_query.Query.params","`","and",":","meth",":","`","_query.Query.execution_options","`","methods",".","..","warning",":",":",":","meth",":","`","_baked.Result.with_post_criteria","`","functions","are","applied","to","the",":","class",":","`","_query.Query","`","object","*","*","after","*","*","the","query","'s","SQL","statement","object","has","been","retrieved","from","the","cache",".","Only",":","meth",":","`","_query.Query.params","`","and",":","meth",":","`","_query.Query.execution_options","`","methods","should","be","used",".","..","versionadded",":",":","1.2"]
code: def with_post_criteria(self, fn):
      """Add a criteria function that will be applied post-cache.
  
      This adds a function that will be run against the
      :class:`_query.Query` object after it is retrieved from the
      cache.    This currently includes **only** the
      :meth:`_query.Query.params` and :meth:`_query.Query.execution_options`
      methods.
  
      .. warning::  :meth:`_baked.Result.with_post_criteria`
         functions are applied
         to the :class:`_query.Query`
         object **after** the query's SQL statement
         object has been retrieved from the cache.   Only
         :meth:`_query.Query.params` and
         :meth:`_query.Query.execution_options`
         methods should be used.
  
  
      .. versionadded:: 1.2
  
  
      """
      return self._using_post_criteria([fn])
  
imports: import collections.abc
  import logging
  from ..None import exc
  from ..None import util
  from ..orm import exc
  from ..orm.query import Query
  from ..orm.session import Session
  from ..sql import func
  from ..sql import literal_column
  from ..sql import util
label_desc: Use image node_id 4 for calling the Result obj's underlying member method code with example usage: obj.with_post_criteria(fn) and returns: self