This message was deleted.
# hamilton-help
s
This message was deleted.
e
If I understand what you’re asking, then yes!
Copy code
def some_data() -> int:
    # dummy function -- this can work with whatever types you want
    return 1

# Then, somewhere else...
# Note that the parameter name corresponds to the function above
# That's how you tell Hamilton to use the prior function
def data_based_on_the_data_above(some_data: int) -> int:
    return some_data + 1
Does this make sense? Basically this is the whole reason we have hamilton — you use the parameter names to “inject” and chain them together.