OpenQuizz
Une application de gestion des contenus pédagogiques
Iterable Class Reference
Inheritance diagram for Iterable:
Collaboration diagram for Iterable:

Public Member Functions

def list_items (cls, repo, *args, **kwargs)
 
def iter_items (cls, repo, *args, **kwargs)
 

Detailed Description

Defines an interface for iterable items which is to assure a uniform
way to retrieve and iterate items within the git repository

Member Function Documentation

◆ iter_items()

def iter_items (   cls,
  repo,
args,
**  kwargs 
)
For more information about the arguments, see list_items
:return:  iterator yielding Items

◆ list_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

The documentation for this class was generated from the following file: