def make_connection(config=None, default_model=None,
                    _api_version=datastore_rpc._DATASTORE_V3,
                    _id_resolver=None):
  return datastore_rpc.Connection(
      adapter=ModelAdapter(default_model, id_resolver=_id_resolver),
      config=config,
      _api_version=_api_version)
Validates that the input matches the regular expression.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/make_connection--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/core/validators.py/RegexValidator.__call__