Skip to content

feat: allow persist runtime mode so that side effects of prior executions impact current one #8

@julianstephen

Description

@julianstephen

Enable flag in gx.execute that will allow multiple invocations of code with the same interpreter runtime. Maintaining code state.

E.g.:

  1. step1_result = g.execute(python_code).get_docker_result()
  2. say python_code in step 1 here sets c=4
  3. new_pthon_code= c+100
  4. step2_result = g.execute(new_pthon_code).get_docker_result()

Expect step 4 to return 104

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions