For geting back your codes from an dump, you can use print_code function for this.
print_code
upsonic.print_code("math.sum")
def sum(a, b): return a + b