Hamilton implements several decorators to promote business-logic deduplication, configuratibility, and add a layer of capabilities. These decorators can be found in the hamilton.function_modifiers submodule GitHub.

Custom Decorators

If you have a use case for a custom decorator, tell us on Slack or via a GitHub issues. Knowing about your use case and talking through help ensures we aren’t duplicating effort, and that it’ll be using part of the API we don’t intend to change.