8 Jan
2003
8 Jan
'03
5:37 p.m.
Hi all, a quick question: how could I (in a python script) get a list of all inherited classes from an object's meta_type? My aim's is to get the first object implementing ObjectManager while going up in the PARENTS hierarchy, whith something like that: parents = request.PARENTS for i in range(len(parents)): if parents[i].meta_type ********: ### if it implements ObjectManagers return parents[i] Ciao Mik