Skip to content

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

Description

@hholb

A recent update to groundhog added support for class methods that look like:

import groundhog_hpc as hog

class MyClass:
    @hog.method()
    def say_hello():
        return 'Hello!'

@hog.harness()
def main():
    result = MyClass.say_hello.remote(...)

We need to update the logic in this file to hanlde the new @hog.method decorated functions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions