Field "slug" does not get updated


I'm wondering why the slug field does not get updated when calling the PUT api (provided I haven't done anything wrong). It seems like the root_validator is not inherited by the UpdateBlog Pydantic model. Can you please shed light on this?

Thank you,

Alessandro

FastAPITutorial

My priority is to help build a production-ready application using FastAPI

I prioritize quality over simplicity. Our challenging approach ensures you're prepared for real-world development.

Contacts

Refunds:

Refund Policy
Social

Follow us on our social media channels to stay updated with our latest tutorials and resources.

© Copyright 2022-2025 Team FastAPITutorial. All rights reserved.