The requiredProperties module

The requiredProperties module contains a class which provides an interface which allows a class to define a set of properties which the subclasses are required to define. This class handles checking that each of those required properties are defined and throwing an error in the event that one of them is not defined.

The RequiredProperties class

Inheritance diagram of pyamp.patterns.interfaces.requiredProperties.RequiredProperties

class pyamp.patterns.interfaces.requiredProperties.RequiredProperties[source]

The RequiredProperties class provides an interface which allows subclasses to define a set of properties that must be defined for that class.

This class checks that all of those properties are defined, and if one of them is not defined this class throws an exception.

Check that all the required properties are defined.

classmethod checkRequiredProperties(obj)[source]

Table Of Contents

Previous topic

The finalFunctionsMeta module

Next topic

The interface module

This Page