Enable flag in gx.execute that will allow multiple invocations of code with the same interpreter runtime. Maintaining code state.
E.g.:
step1_result = g.execute(python_code).get_docker_result()
- say
python_code in step 1 here sets c=4
new_pthon_code= c+100
step2_result = g.execute(new_pthon_code).get_docker_result()
Expect step 4 to return 104
Enable flag in
gx.executethat will allow multiple invocations of code with the same interpreter runtime. Maintaining code state.E.g.:
step1_result = g.execute(python_code).get_docker_result()python_codein step 1 here setsc=4new_pthon_code= c+100step2_result = g.execute(new_pthon_code).get_docker_result()Expect step 4 to return
104