From a46a3ab2ad62a9f1e59403811c741dea1a5b2019 Mon Sep 17 00:00:00 2001 From: Louis Ades Date: Tue, 15 Sep 2020 14:10:10 -0400 Subject: [PATCH] Flask Bridge: Fix broken import in grpc_to_json (#15) * Flask Bridge: Fix broken import in grpc_to_json * Update changelog with unreleased section and current bug fix * Isort fix Co-authored-by: Louis Ades --- CHANGELOG.md | 4 ++++ eagr/flask_bridge/grpc_to_json.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e4be02..19f7d55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +### Unreleased + +* Fix broken import bug with Flask Bridge + ### v0.2.0 * Method invocations returned for the GRPC Reflection Interface now accept parameters for `timeout`, `metadata`, `credentials`, `wait_for_ready`, and `compression`, matching the full contract for `UnaryUnaryMultiCallable` objects. diff --git a/eagr/flask_bridge/grpc_to_json.py b/eagr/flask_bridge/grpc_to_json.py index 8ea287d..b312959 100644 --- a/eagr/flask_bridge/grpc_to_json.py +++ b/eagr/flask_bridge/grpc_to_json.py @@ -6,8 +6,8 @@ # Fetch a selected set of primitive types for which the protodict clean up involves # a flattening of the namespace. -from eagr.flask_bridge.response_translation import translate_message_to_dict from eagr.grpc_utils.method import make_grpc_unary_method +from eagr.grpc_utils.response_translation import translate_message_to_dict from eagr.reflection.reflection_descriptor_database import build_database_from_channel