def __init__(self, default_model=None, id_resolver=None):
<EOL>try:<EOL><INDENT>super(ModelAdapter, self).__init__(id_resolver)<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>self.default_model = default_model<EOL>self.want_pbs = <NUM_LIT:0><EOL>
Constructor.

        Args:
          default_model: If an implementation for the kind cannot be found, use
            this model class.  If none is specified, an exception will be thrown
            (default).
          id_resolver: A datastore_pbs.IdResolver that can resolve
            application ids. This is only necessary when running on the Cloud
            Datastore v1 API.