AttributePrinting

giant.utilities.mixin_classes.attribute_printing:

class giant.utilities.mixin_classes.attribute_printing.AttributePrinting[source]

A mixin class that provides __str__ and __repr__ functionality.

This mixin implements __str__ and __repr__ methods which print the class signature and attributes for any subclass using standard attributes.

For any attributes which start with an underscore, it checks if there is a corresponding property not starting with an underscore and reports that instead.

Summary of Methods