How do I find out a name of class that created an instance of an object in Python if the function I am doing this from is the base class of which the class of the instance h
To get instance classname:
type(instance).__name__
or
instance.__class__.__name__
both are the same