track.py (Source)

import protonn.parameters

@protonn.parameters.view
def do_something():
    parameter_1 = 42  # type: Observed
    print(parameter_1)

def main():
    do_something()
    protonn.parameters.dump()