

def get_broker(cls):
    for v in cls.__dict__.values():
        if isinstance(v, Broker):
            return cls
    return None

dataset/ETHPy150Open mogui/pyorient/pyorient/ogm/broker.py get_broker/VarMisuse@34/40 `v`->`cls`