Esempio n. 1
0
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)
Esempio n. 2
0
File: problem.py Progetto: 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)
Esempio n. 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)
Esempio n. 4
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)