Skip to content

gapic-generator 0.16.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@software-dov software-dov released this 21 Feb 23:42
60a4e51

release level documentation

Features

  • Add a WIP optional lazy-import feature. Submodule __init__.py files use module level __getattr__ and importlib to selectively load sub-submodules, deferring import costs until submodules or types are used.
  • Streaming method support is improved and fleshed out.
  • The semantics of the conversion script have changed: a single script is generated per API instead of one script per service. The script modifies a copy of its input directory and does not change the input source files.
  • Nested message types in proto files produce import statements in generated unit tests.
  • Generated gRPC transports gain a create_channel factory method that passes arbitrary keyword arguments through to grpc_helpers.create_channel

Tests

  • Test that nested message types generate import statements.
  • Add grpc streaming interceptor tests.
  • Add tests for the alternative module import semantics.

Misc

  • The enums submodule has been removed from the generated surface.