Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Modifications to enable decorating functions from another module #217

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 27, 2022

  1. Example showing what we would need to modify to enable user question

    If the user wants to reuse hamilton functions without hamilton, this
    commit shows one way to do it -- and what would be required on Hamilton's
    side to support it.
    
    Basically we'd need a convention. Not sure it's a good idea. Probably
    easier to instead have boilerplate code people use to try/except the
    import if hamilton does not exist and have the decorators be
    identity functions...
    skrawcz committed Oct 27, 2022
    Copy the full SHA
    71f5826 View commit details
    Browse the repository at this point in the history