human
Please write code following the instructions in jupyter notebook style.
assistant
#Here is code to and the other steps required.

@schedule
class A:
    def __init__(self, value):
        self.value = value

    def multiply(self, factor):
        self.value *= factor
        return self

a = A(5)
a = a.multiply(10)
a.second = 7

draw_workflow("callgraph5.png", a._workflow)