temporalio / temporalio/samples-python

[Feature Request] Create sample for calling Python Client from a sync method

オープン
#231 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement
主要言語
Python
スター
367
フォーク
121
平均マージ
3日 20時間
マージ済み PR(30日)
11

説明

Is your feature request related to a problem? Please describe.

There are many Temporal users that have existing Python code bases that are only sync, and for these users learning how to invoke the Temporal Client is toil, as they may not be fully versed in asyncio and the event loop. Having a sample that provides a snippet on how to use the Temporal Client from an existing sync method would be very helpful for these folks as part of the getting started experience.

Describe the solution you'd like

I'd like a hello world style sample that creates a client and then invokes client.start_workflow or client.execute_workflow from within a synchronous method

Additional context

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、リポジトリに既存する hello-world サンプルと Python Client の使用パターンを確認してください。issue では特定のファイルやテストは指定されていません。同期メソッドから client.start_workflow または client.execute_workflow を呼び出すサンプルを追加し、そのサンプルが getting-started エクスペリエンスの一部として実行されることを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。