Skip to content

Conversation

@saikonen
Copy link
Collaborator

No description provided.

@saikonen
Copy link
Collaborator Author

test it out with

from metaflow import step, FlowSpec, current

class HelloFlow(FlowSpec):
    @step
    def start(self):
        print("Starting 👋")
        print("Stats on current singleton:")
        print(f"     runtime: {current.runtime}")
        print(f"     compute: {current.compute}")
        print(f"     is_local: {current.is_local}")
        self.next(self.end)

    @step
    def end(self):
        print("Done! 🏁")


if __name__ == "__main__":
    HelloFlow()

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.

2 participants