---
title: "Discussion on \"Building A Blog Service With FastAPI And Redis OM\" | Hashnode"
description: "Discussion on \"Building A Blog Service With FastAPI And Redis OM\". Introduction\nIn my last article, I wrote about using Redis as a message broker to store messages delivered by a task queue. Asides from Redis being used as cache storage or message broker, Redis can also be used as a database to store data in key-val..."
url: "https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building A Blog Service With FastAPI And Redis OM](https://ubaydah.hashnode.dev//building-a-blog-service-with-fastapi-and-redis-om?utm_source=hashnode&utm_medium=feed)

Introduction In my last article, I wrote about using Redis as a message broker to store messages delivered by a task queue. Asides from Redis being used as cache storage or message broker, Redis can also be used as a database to store data in key-val...

Aug 12, 2022 · 7 min read · ubaydah.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#redis](https://hashnode.com/tag/redis)
-   [#fastapi](https://hashnode.com/tag/fastapi)
-   [#developer](https://hashnode.com/tag/developer)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Ubaydah Abdulwasiu](https://hashnode.com/@Goo17)

@Goo17 · Ibadan, Nigeria

  
[View profile](https://hashnode.com/@Goo17)

Back-end Developer | Technical Writer | Lover of books and aesthetics

I am a Software developer and Technical Writer

## Responses 9

Markdown supported · ⌘↵ to post

[Aditya Rajbhar](https://hashnode.com/@codebyaadi)

[Sep 9, 2023](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/64fc80548b05f2b3821c26d1)

I am new to FastAPI & I am getting this error. Can anyone help

1 fastapi.exceptions.FastAPIError: Invalid args for response field! Hint: check that <class 'main.Product'> is a valid Pydantic field type. If you are using a return type annotation that is not a valid Pydantic field (e.g. Union\[Response, dict, None\]) you can disable generating the response model from the type annotation with the path operation decorator parameter response\_model=None. Read more: [fastapi.tiangolo.com/tutorial/response-model](https://fastapi.tiangolo.com/tutorial/response-model/) \`

[Ajibola Ridwan](https://hashnode.com/@RidwanGrey)

[Aug 20, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/63013c9d74730d13020f3247)

Weldone Ubay

[Adetayo Bishop](https://hashnode.com/@Adetayo56)

[Aug 20, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/63012fc4ba5ef2131493ac25)

Well simplified, Thumbs up

[Rich A](https://hashnode.com/@RichA167)

[Aug 14, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/62f96ec7be14cfbd5d7c6504)

Very nice article. On your code for create\_author, should you explain why to create a new Author object from the old one - why can't use the Author object that was passed. Thank you

[Ubaydah Abdulwasiu](https://hashnode.com/@Goo17)

[Aug 16, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/62f96ec7be14cfbd5d7c6504#reply-62fb4af57e81b9d61e3bbb94)

I am actually creating a new author object.

[Okwu Ogechukwu Sylvia](https://hashnode.com/@ritasylvia)

[Aug 13, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/62f811f2fffdab933bde878b)

Really learned from this, nice one

[Obasi Vanessa Ugochinyere](https://hashnode.com/@Vanessa27)

[Aug 13, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/62f7f12e69fa1793160c395b)

I just love how you simplified it Welldone ✨❤️❤️

[Lateefat](https://hashnode.com/@newtraque)

[Aug 13, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/62f76e7efffdab933bde6f30)

Not my scope but this is well detailed. Weldone 💫

[Chidinma Nwatu](https://hashnode.com/@Dinmaa)

[Aug 13, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/62f76e0b69fa1793160c2412)

Very amazing writeup. Welldone

[Wakeel Kehinde](https://hashnode.com/@t-official)

[Aug 12, 2022](https://hashnode.com/posts/building-a-blog-service-with-fastapi-and-redis-om/62f6988ffffdab933bde54db/comment/62f6b11169fa1793160c0da7)

Nice one up there 💫
