I have to deal with two formats, say A and B. I want to build a class that handles these two formats in the best way possible in Python.
My idea was to have a class t