Skip to content

Update hpc upload form to handle @hog.methods#478

Open
hholb wants to merge 1 commit into
stagingfrom
hholb/hog-methods
Open

Update hpc upload form to handle @hog.methods#478
hholb wants to merge 1 commit into
stagingfrom
hholb/hog-methods

Conversation

@hholb

@hholb hholb commented Jan 7, 2026

Copy link
Copy Markdown
Member

Resolves: #477

This PR updates the hog script parsing logic to find @hog.methods inside python classes.

Screen.Recording.2026-01-07.at.3.57.23.PM.mov

For reference here is the hog script I was testing with:

import groundhog_hpc as hog

@hog.function()
def bar():
    pass

class Foo:
    @hog.method()
    def bar():
        pass

    @hog.method()
    def baz():
        pass


@hog.function()
def baz():
    pass

@hholb hholb marked this pull request as ready for review January 7, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update hog script parsing to handle hog.method() functions

1 participant