EncEntryTemplate

class encyclopaedia.EncEntryTemplate(**kwargs)[source]

Bases:

A template generator for EncEntry.

Any valid argument for EncEntry can be used in EncEntryTemplate.

Example

>>> Fruit = EncEntryTemplate(subject='Fruit', locked=True)
>>> apple = Fruit(name='Apple')