def _create_instance_factory(self,
                               server_configuration):
    if server_configuration.runtime == 'go':
      return go_runtime.GoRuntimeInstanceFactory(
          request_data=self._request_data,
          runtime_config_getter=self._get_runtime_config,
          server_configuration=server_configuration)
    elif server_configuration.runtime in ('python', 'python27'):
      return python_runtime.PythonRuntimeInstanceFactory(
          request_data=self._request_data,
          runtime_config_getter=self._get_runtime_config,
          server_configuration=server_configuration)
    elif server_configuration.runtime == 'php':
      return php_runtime.PHPRuntimeInstanceFactory(
          request_data=self._request_data,
          runtime_config_getter=self._get_runtime_config,
          server_configuration=server_configuration)
    else:
      assert 0, 'unknown runtime %r' % server_configuration.runtime
Ensure that if _type is not furious.async.Async that the correct
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/server.py/Server._create_instance_factory--crossover with--dataset/ETHPy150Open Workiva/furious/furious/tests/test_async.py/TestAsyncFromOptions.test_has_type