repoapi.py
changeset 9774 b7b71be569cf
parent 9630 e7dbc4f06a48
child 9813 c20956f5862d
equal deleted inserted replaced
9773:71a45642b3d2 9774:b7b71be569cf
   245     # session data methods #####################################################
   245     # session data methods #####################################################
   246 
   246 
   247     get_shared_data = _srv_cnx_func('get_shared_data')
   247     get_shared_data = _srv_cnx_func('get_shared_data')
   248     set_shared_data = _srv_cnx_func('set_shared_data')
   248     set_shared_data = _srv_cnx_func('set_shared_data')
   249 
   249 
       
   250     @property
       
   251     def transaction_data(self):
       
   252         return self._cnx.transaction_data
       
   253 
   250     # meta-data accessors ######################################################
   254     # meta-data accessors ######################################################
   251 
   255 
   252     @_open_only
   256     @_open_only
   253     def source_defs(self):
   257     def source_defs(self):
   254         """Return the definition of sources used by the repository."""
   258         """Return the definition of sources used by the repository."""