How to convert (inherit) parent to child class?
Now you can do something like a cast
Casting classes in Python
Create a method for casting and copy the element to the cast side. This one is easier to use.
Recommended Posts