def __init__(self, default_model=None, id_resolver=None):
    # TODO(pcostello): Remove this once AbstractAdapter's constructor makes
    # it into production.
    try:
      super(ModelAdapter, self).__init__(id_resolver)
    except:
      pass
    self.default_model = default_model
    self.want_pbs = 0

  # Make this a context manager to request setting _orig_pb.
  # Used in query.py by _MultiQuery.run_to_queue().
Constructor.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/ModelAdapter.__init__