server/session.py
changeset 10485 9d2416a504d3
parent 10435 5b33ca2c61e0
child 10541 03bae22c8d0e
equal deleted inserted replaced
10484:7f15552b7463 10485:9d2416a504d3
   469     @_open_only
   469     @_open_only
   470     @deprecated('[3.21] a cnxset is automatically set on __enter__ call now.'
   470     @deprecated('[3.21] a cnxset is automatically set on __enter__ call now.'
   471                 ' stop using .ensure_cnx_set')
   471                 ' stop using .ensure_cnx_set')
   472     def ensure_cnx_set(self):
   472     def ensure_cnx_set(self):
   473         yield
   473         yield
       
   474 
       
   475     @property
       
   476     def anonymous_connection(self):
       
   477         return self.session.anonymous_session
   474 
   478 
   475     # Entity cache management #################################################
   479     # Entity cache management #################################################
   476     #
   480     #
   477     # The connection entity cache as held in cnx.transaction_data is removed at the
   481     # The connection entity cache as held in cnx.transaction_data is removed at the
   478     # end of the connection (commit and rollback)
   482     # end of the connection (commit and rollback)