equal
deleted
inserted
replaced
1423 return self.__threaddata.cnx |
1423 return self.__threaddata.cnx |
1424 except AttributeError: |
1424 except AttributeError: |
1425 self.set_cnx() |
1425 self.set_cnx() |
1426 return self.__threaddata.cnx |
1426 return self.__threaddata.cnx |
1427 |
1427 |
1428 @property |
|
1429 def _current_cnx_id(self): |
|
1430 """TRANSITIONAL PURPOSE""" |
|
1431 try: |
|
1432 return self.__threaddata.cnx.transactionid |
|
1433 except AttributeError: |
|
1434 return None |
|
1435 |
|
1436 def get_option_value(self, option, foreid=None): |
1428 def get_option_value(self, option, foreid=None): |
1437 return self.repo.get_option_value(option, foreid) |
1429 return self.repo.get_option_value(option, foreid) |
1438 |
1430 |
1439 def transaction(self, free_cnxset=True): |
1431 def transaction(self, free_cnxset=True): |
1440 """return context manager to enter a transaction for the session: when |
1432 """return context manager to enter a transaction for the session: when |