You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Daria Malkova (Jira)" <ji...@apache.org> on 2021/12/14 08:11:00 UTC
[jira] [Updated] (BEAM-13254) [Playground] Support Python SDK
[ https://issues.apache.org/jira/browse/BEAM-13254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daria Malkova updated BEAM-13254:
---------------------------------
Resolution: Implemented
Status: Resolved (was: In Progress)
> [Playground] Support Python SDK
> -------------------------------
>
> Key: BEAM-13254
> URL: https://issues.apache.org/jira/browse/BEAM-13254
> Project: Beam
> Issue Type: New Feature
> Components: beam-playground
> Reporter: Ilya Kozyrev
> Assignee: Daria Malkova
> Priority: P2
> Labels: beam-playground-backend, beam-playground-sprint-4, beam-playground-sprint-5
>
> As a Beam Playground user, I want to get execution output for the specific Python example code that I run in Beam Playground
> Acceptance criteria:
> # Beam Python example code executed on the backend
> # Output received by the frontend
> # Compilation failures are caught and redirected to the frontend app
> # Runtime failures are caught and redirected to the frontend app
>
> _{*}Scenario{*}: Python example code running_
> _{*}Given{*}: User ran valid Apache Beam Python example code in Beam Playground_
> _{*}When{*}: Backend accepts the gRPC request_
> _{*}Then{*}: Backend apply preparation steps for Python SDK_
> _*AND:* Backend apply validation steps for Python SDK_
> _*AND:* Backend runs a new background process using the Python console command to run python file with code snippet_
>
>
> __
> _{*}Given{*}: Backend ran a new background process using the Python console command to Run code snippet_
> _{*}When{*}: Validation is completed_
> *_AND:_* _Preparation is completed_
> _{*}And{*}: Executable file located in local FS_
> _{*}Then{*}: Backend app runs executable file using_ _Python_ _console command in background task_
> __
> _{*}Given{*}: Backend app runs executable file using Python console command_
> _{*}When{*}: Code executed completely_
> _{*}And{*}: Stdout and stderr outputs located at local fs_
> _{*}Then{*}: Backend reads the stdout and sends its content to the frontend with complete message code_
> __
> _{*}Given{*}: Backend app runs executable file using Python console command_
> _{*}When{*}: Code executed with error_
> _{*}And{*}: Stdout and stderr outputs located at local fs_
> _{*}Then{*}: Backend reads the stderr and sends its content to the frontend with an error message code_
> __
> _{*}Given{*}: Backend app runs executable file using Python console command_
> _{*}When{*}: Execution is finished with any code_
> _{*}And{*}: Backend sent a response to frontend_
> _{*}Then{*}: Backend clean-ups build and runtime artifacts._
--
This message was sent by Atlassian Jira
(v8.20.1#820001)