The utcnow is deprecated
utcnow
Replace this
datetime.utcnow()
With this
from datetime import datetime, timezone datetime.now(timezone.utc)