def getCliInstance():
	global _dbcli
	if not _dbcli:
		_dbcli = DatabaseHelper()
	return _dbcli
def __init__(self):
        super(TransactionStates, self).__init__()
        self._states = defaultdict(TransactionState)