@extensionmethod(Observable)
def __mul__(self, b):

    assert isinstance(b, int)
    return self.repeat(b)
Pythonic version of repeat
dataset/ETHPy150Open ReactiveX/RxPY/rx/linq/observable/repeat.py/__mul__