def organization_required_for_update(cls, v):
        """Validate that the organization_id is not None for updates."""
        if v is None:
            raise ValueError("organization_id cannot be None when updating a user")
        return v
Validate that the organization_id is not None for updates.
backend/airweave/schemas/user.py