AllenNeuralDynamics / AllenNeuralDynamics/one-liner

RouterClient.call should just return function return

オープン
#34 コメント 1 件 リアクション 0 件 担当者 1 名 @Poofjunior が担当を希望しています GitHub で見る
主要言語
Python
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently, `RouterClient.call` returns `tuple[float, Any]`, with a server-provided timestamp along with the object returned by the remote function. While it's useful to have the timestamp to know if the received value is old or something, maybe the client should just deal with it and not provide it to the user.

There could be a normal `call -> Any` method, and a `call_with_timestamp: tuple[float, Any]` to provide it upon request. Maybe also the client could have a configurable recency threshold, and compare the age of the received response.

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

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

評価

この issue はまだ評価されていません。

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

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