commit | 713be8bce21bc737d69ee89ad55f53a0c0de91bc | [log] [tgz] |
---|---|---|
author | pigweed-integration-roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> | Mon Aug 16 21:00:39 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 16 21:07:52 2021 +0000 |
tree | 5b7c375c8a4d67026476dbaa75091359dd2138a9 | |
parent | 5a8ad81ed5ab1b6735d4c0321f7f4da3034aa46a [diff] |
[roll third_party/pigweed] pw_rpc: Python client improvements - Use the Call object directly as the context object. This is simpler and makes cancelling prior calls easier. - Return the previous context when a duplicate RPC is called. - Cancel the prior RPC call when the same RPC is called again on the same channel. - Update the response iteration API. - Don't use "block" since it is redundant with timeout_s=0. - Accept optional "count" arg for how many responses to receive. - Don't cancel the RPC if iteration fails. If there is a server error, the RPC will be terminated anyway. The user may cancel directly on the call object or by using it in a with block. - Remove accidental get_responses on client streaming RPCs. - Propagate exceptions from user callbacks so they aren't just logged. - Add unit and integration tests. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/56553 https://pigweed.googlesource.com/pigweed/pigweed third_party/pigweed Rolled-Commits: 1a88725edb3e6ef..420af4b4688268c Roller-URL: https://ci.chromium.org/b/8838708703912662865 Cq-Cl-Tag: roller-builder:pigweed-experimental-roller Cq-Cl-Tag: roller-bid:8838708703912662865 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I704e993c4e7bd6203985d7d3a158ba1cdb99bb93 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/57341 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
This repository contains experimental pigweed modules.
Clone this repo with --recursive
to get all required submodules.
git clone --recursive https://pigweed.googlesource.com/pigweed/experimental
This will pull the Pigweed source repository into third_party/pigweed
. If you already cloned but forgot to --recursive
run git submodule update --init
to pull all submodules.