class_docstr: A builder object for :class:`.query.Query` objects.
class_docstr_tok: ["A","builder","object","for",":","class",":","`",".query.Query","`","objects","."]
docstr: Return the key that actually goes into the cache dictionary for
  this :class:`.BakedQuery`, taking into account the given
  :class:`.Session`.
  
  This basically means we also will include the session's query_class,
  as the actual :class:`_query.Query` object is part of what's cached
  and needs to match the type of :class:`_query.Query` that a later
  session will want to use.
docstr_tok: ["Return","the","key","that","actually","goes","into","the","cache","dictionary","for","this",":","class",":","`",".BakedQuery","`",",","taking","into","account","the","given",":","class",":","`",".Session","`",".","This","basically","means","we","also","will","include","the","session","'s","query_class",",","as","the","actual",":","class",":","`","_query.Query","`","object","is","part","of","what","'s","cached","and","needs","to","match","the","type","of",":","class",":","`","_query.Query","`","that","a","later","session","will","want","to","use","."]
code: def _effective_key(self, session):
      """Return the key that actually goes into the cache dictionary for
      this :class:`.BakedQuery`, taking into account the given
      :class:`.Session`.
  
      This basically means we also will include the session's query_class,
      as the actual :class:`_query.Query` object is part of what's cached
      and needs to match the type of :class:`_query.Query` that a later
      session will want to use.
  
      """
      return self._cache_key + (session._query_cls,)
  
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 12 for calling the BakedQuery obj's underlying member method code with example usage: obj._effective_key(session) and returns: unknown