

def get_epistle_children(id, recursive=True):
    '\n    Get the children (replies) of the given epistle id.\n    Recursive mode is likely murderous to the database, someone should make it better.\n    @param id: id of parent epistle\n    @param recursive: recurse down to all children if True (default True)\n    '
    all_ep = []
    ep = dbsession.query(Epistle).filter((Epistle.parent == id)).all()
    for e in ep:
        all_ep.append(e)
        get_epistle_children(ep.id)
    return all_ep

dataset/ETHPy150Open sjuxax/raggregate/raggregate/queries/epistle.py get_epistle_children/VarMisuse@61/188 `e`->`ep`