I probably wouldn't use this:
if test_type == ChildClass1().typ_id:
...simply because creating an instance of the object just to get
access to the typ_id seems like a waste of effort. If you really need
to check integer typ_id values, the staticmethod approach seems fine.
Simon
On Mon, Apr
Hi Simon
Again you really helped me out. I don't know what point I missed, but
now it works. As usual it's not as simpe le or lets say there are a lot
more code pieces to change before I can really test it in my code. But I
got it.
just one more thing:
I often have to check if a given tpye t