'Create a random two-phase transaction ID.
This id will be passed to do_begin_twophase(), do_rollback_twophase(),
do_commit_twophase().  Its format is unspecified.'

def create_xid(self):

    return ('_sa_%032x' % random.randint(0, (2 ** 128)))
