Exemplo n.º 1
0
def api_topic(request, board, pid, start=None):
    lily = Lily()
    try:
        topic = lily.fetch_topic(board, pid, start)
    except Exception as e:
        return build_response(exc=e)
    return build_response(topic.json())
Exemplo n.º 2
0
def api_topic(request, board, pid, start=None):
    lily = Lily()
    try:
        topic = lily.fetch_topic(board, pid, start)
    except Exception as e:
        return build_response(exc=e)
    return build_response(topic.json())