pw_rpc: Fix __repr__ for UnaryResponse in Python client UnaryResponse.__repr__ should only call proto_repr when it has a response. Fixes: b/247127597 Change-Id: Icdea31b50088669d1bded1eb21ec80c3b25f4590 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/110970 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Jonathon Reinhart <jrreinhart@google.com> Reviewed-by: Carlos Chinchilla <cachinchilla@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.