Open fregataa opened 2 years ago
This should be rather a refactoring of the run
command and a follow-up of #283.
Let's rename the existing run
command to run-legacy
, and write the new run()
using start
and exec
combinations from a clean slate.
Is your feature request related to a problem? Please describe.
client-py
has 2 short-cut commandsrun
andstart
, which can create new session. Sincerun
command is a legacy, it has arbitrary or outdated option names such asmode
ortype
- they both has a same choice namedbatch
.-Describe the solution you'd like implement
execute
command and changerun
command into a combination ofstart
andexecute
.Additional context
run
command was implemented to execute python codes. The code can be sent through API by string format or through uploading a file.