def _AssertInState(self, *states):
    if not self.state in states:
      raise BadStateError('%s:%s not in %s' %
                          (str(self),
                           self.state_namer(self.state),
                           map(self.state_namer, states)))
Prepare the SQLAlchemy session object.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/bulkloader.py/_WorkItem._AssertInState--crossover with--dataset/ETHPy150Open hypothesis/h/h/conftest.py/database_session