PaferaPy Async 0.1
ASGI framework focused on simplicity and efficiency
Loading...
Searching...
No Matches
Classes | Functions | Variables
learn.problem Namespace Reference

Classes

class  learn_problem
 A problem in the Pafera Learning System is defined as a collection of cards. More...
 

Functions

def GetAllProblems (g, cardids, problemtype=CARD_LINK_PROBLEM, extraproblemids=[])
 This function returns a list of problems as dicts given lesson ids or explicit problem ids. More...
 
def GetChildProblems (g, card, problems, problemcardids, problemtype)
 A helper function for GetAllProblems() to iterate through lesson trees. More...
 

Variables

int PROBLEM_REQUEST_REVIEW = 0x01
 

Function Documentation

◆ GetAllProblems()

def learn.problem.GetAllProblems (   g,
  cardids,
  problemtype = CARD_LINK_PROBLEM,
  extraproblemids = [] 
)

This function returns a list of problems as dicts given lesson ids or explicit problem ids.

Definition at line 55 of file problem.py.

◆ GetChildProblems()

def learn.problem.GetChildProblems (   g,
  card,
  problems,
  problemcardids,
  problemtype 
)

A helper function for GetAllProblems() to iterate through lesson trees.

Definition at line 129 of file problem.py.

Variable Documentation

◆ PROBLEM_REQUEST_REVIEW

int learn.problem.PROBLEM_REQUEST_REVIEW = 0x01

Definition at line 14 of file problem.py.