def __init__(self, version, database='main'):
        super(DatabaseAtVersion, self).__init__()
        self.database = database
        self.version = version
        if database == 'main':
            self.get_engine = session.get_engine
        elif database == 'api':
            self.get_engine = session.get_api_engine
Converts a datetime object's timzeone.
dataset/ETHPy150Open openstack/nova/nova/tests/fixtures.py/DatabaseAtVersion.__init__--crossover with--dataset/ETHPy150Open googleanalytics/google-analytics-super-proxy/src/controllers/util/date_helper.py/ConvertDatetimeTimezone