示例#1
0
文件: problem.py 项目: whitefirer/vj4
def get_solution_reply(domain_id: str, psid: document.convert_doc_id,
                       psrid: objectid.ObjectId):
    return document.get_sub(domain_id, document.TYPE_PROBLEM_SOLUTION, psid,
                            'reply', psrid)
示例#2
0
文件: problem.py 项目: vijos/vj4
def get_solution_reply(domain_id: str, psid: document.convert_doc_id, psrid: objectid.ObjectId):
  return document.get_sub(domain_id, document.TYPE_PROBLEM_SOLUTION, psid, 'reply', psrid)
示例#3
0
def get_tail_reply(domain_id: str, drid: document.convert_doc_id,
                   drrid: objectid.ObjectId):
    return document.get_sub(domain_id, document.TYPE_DISCUSSION_REPLY, drid,
                            'reply', drrid)
示例#4
0
文件: discussion.py 项目: vijos/vj4
def get_tail_reply(domain_id: str, drid: document.convert_doc_id, drrid: objectid.ObjectId):
  return document.get_sub(domain_id, document.TYPE_DISCUSSION_REPLY, drid, 'reply', drrid)