hello_world.py in https://14946363-23cd-404a-a700-73e1a60ec29c.internal.dedicated.h2o.ai/#hello_world needs to add main to the import #2168
Answered
by
mturoci
wendycwong
asked this question in
Q&A
-
I was trying to learn how to write an app and notice a problem with hello_world.py: from h2o_wave import site, ui The problem is with the import, it needs to import main as well. from h2o_wave import site, ui, main |
Beta Was this translation helpful? Give feedback.
Answered by
mturoci
Oct 20, 2023
Replies: 1 comment
-
Hey @wendycwong! The |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mturoci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @wendycwong!
The
main
import is missing becausehello_world
example is a Wave script and not a Wave app.