def get_engine(self, app=None, bind=None):
app = self.get_app(app)<EOL>state = get_state(app)<EOL>with self._engine_lock:<EOL><INDENT>connector = state.connectors.get(bind)<EOL>if connector is None:<EOL><INDENT>connector = self.make_connector(app, bind)<EOL>state.connectors[bind] = connector<EOL><DEDENT>return connector.get_engine()<EOL><DEDENT>
Returns a specific engine.