Skip to content

Files

Latest commit

7a49b49 · Dec 6, 2019

History

History
 
 

introspection

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 6, 2019
Dec 6, 2019
Dec 6, 2019

Introspection

Illustration of implementing __getattr__ and __setattr__ in a mix-in class to provide introspection into parameters in derived classes.

What is it?

  1. parameterized.py: Python module implementing a class representing parameters, a mix-in class adding parameter introspection capabilities to a derived class, and exception classes.
  2. parameter_introspection.ipynb: Jupyter notebook illustrating the use of the Parameterized mix-in class.