@classmethod
    def from_callable(cls, func):
        return _IntegerFromCallable(func)
Create an Integer-like object that calls the given function when it is
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/reactive.py/Integer.from_callable