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,



Brige the gap between Tutorial hell and Industry. We want to bring in the culture of Clean Code, Test Driven Development.

We know, we might make it hard for you but definitely worth the efforts.



Refund Policy

Follow us on our social media channels to stay updated.

© Copyright 2022-23 Team FastAPITutorial