Python Add Method To Class Dynamically Reference