gemd.entity.object.has_template module

For entities that have templates.

class gemd.entity.object.has_template.HasTemplate(template: Optional[Union[BaseTemplate, LinkByUID]] = None)

Bases: HasDependencies

Mix-in trait for objects that can be assigned templates.

property template: Optional[Union[BaseTemplate, LinkByUID]]

A template that defines the allowed values.