@validate('email', doc="User's email. This is the unique identifier of a user.")
    @validate('password', doc="User's password.")
    def PUT(self, id, email=None, password=None):
        users.setdefault(id, {'id': id})
        if email:
            users[id]['email'] = email
        if password:
            users[id]['password'] = get_hashed(password)
        return {'id': id, 'saved': True}
Overwrite or create the document indicated by the ID. Parameters
dataset/ETHPy150Open pneff/wsgiservice/examples/user.py/User.PUT