Skip to content

Commit

Permalink
Flask Bridge: Fix broken import in grpc_to_json (#15)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
ljades and Louis Ades authored Sep 15, 2020
1 parent b2eb412 commit a46a3ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion eagr/flask_bridge/grpc_to_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit a46a3ab

Please sign in to comment.