Udi Meiri created BEAM-10299:
--------------------------------

             Summary: sdk_worker_main needlessly warns about missing main 
session file
                 Key: BEAM-10299
                 URL: https://issues.apache.org/jira/browse/BEAM-10299
             Project: Beam
          Issue Type: Bug
          Components: sdk-py-core
            Reporter: Udi Meiri


If --save_main_session is not used, _load_main_session will emit a warning:

{code}
No session file found: /<path>/pickled_main_session. Functions defined in 
__main__ (interactive session) may fail.
{code}

Perhaps make this info level if --save_main_session wasn't passed?
Aside: Is it safe to parse options before _load_main_session?

Also, what does "interactive session" mean here? The wording is from a 2017 
commit (by [~altay]), and the new interactive runner comes to mind now instead.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to