Today I\'m viewing another\'s code, and saw this:
class A(B): # Omitted bulk of irrelevant code in the class def __init__(self, uid=None): self
It's a class factory.
Essentially it the same as calling:
o = A(uid)
cls in def get(...): is A.
cls
def get(...):
A