Expose invocation properties in `restate.Context`

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

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

評価

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

調査の方向性

restate.Context ABC と restate.server_context.ServerInvocationContext から始め、既存の invocation フィールドと handler フィールドに焦点を当てます。公開 context インターフェースを通じて両方を公開し、workers または wrapper libraries が実装型に依存せずにそれらへアクセスできることを確認します。

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

説明

restate.server_context.ServerInvocationContext has invocation and handler fields. These are very useful for things like telemetry, logging or adding special handling using invocation IDs. However, these fields are hidden by the restate.Context interface.

Can we publicly expose these two fields on the restate.Context ABC, so that workers or wrapper libraries don't have to access the type of the underlying implementation?

主要言語
Python
スター
81
フォーク
22
平均マージ
2日 2時間
マージ済み PR(30日)
2

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

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

はじめの一歩

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

restatedev/sdk-python のほかの issue

restatedev/sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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