OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | list_items (cls, repo, *args, **kwargs) |
def | iter_items (cls, repo, *args, **kwargs) |
Defines an interface for iterable items which is to assure a uniform way to retrieve and iterate items within the git repository
def iter_items | ( | cls, | |
repo, | |||
* | args, | ||
** | kwargs | ||
) |
For more information about the arguments, see list_items :return: iterator yielding Items
def list_items | ( | cls, | |
repo, | |||
* | args, | ||
** | kwargs | ||
) |
Find all items of this type - subclasses can specify args and kwargs differently. If no args are given, subclasses are obliged to return all items if no additional arguments arg given. :note: Favor the iter_items method as it will :return:list(Item,...) list of item instances