how to get derived class name from base class
how to get derived class name from base class Question: I have a base class Person and derived classes Manager and Employee. Now, what I would like to know is the object created is Manager or the Employee. The person is given as belows: from Project.CMFCore.utils import getToolByName schema = getattr(Person, ‘schema’, Schema(())).copy() + Schema((TextField(‘FirstName’, …