from models.post import Post
from models.blog import Blog
# post = Post(blog_id='123', title='First Post', content='This is content', author = 'Swapnik')
# post.save_to_mongo()
# posts = Post.from_blog(id = "123")
# print([post for post in posts])
