from app import app
from app import post_store

@app.route("/api/topic/all")
def topic_get_all():
  posts = [post.__dict__() for post in post_store.get_all()]
  return jsonify(posts)

d55740e31773e161b3b1e31395b5ff544431b24f
<mask token>

<mask token>


@app.route('/api/topic/all')
def topic_get_all():
    posts = [post.__dict__() for post in post_store.get_all()]
    return jsonify(posts)

from app import app
from app import post_store


@app.route('/api/topic/all')
def topic_get_all():
    posts = [post.__dict__() for post in post_store.get_all()]
    return jsonify(posts)

from app import app
from app import post_store

@app.route("/api/topic/all")
def topic_get_all():
  posts = [post.__dict__() for post in post_store.get_all()]
  return jsonify(posts)
