class NamedModel(db.Model):
    """A Model subclass for entities which automatically generate their own key
    names on creation. See documentation for _generate_key function for
    requirements."""

def __init__(self, *args, **kwargs):
    pass
Custom keys for Google App Engine models (Python)