Skip to content

Commit 8af42e5

Browse files
committed
add new functions to documentation
Signed-off-by: Maxim Sukharev <max@smacker.ru>
1 parent 8259fc6 commit 8af42e5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,12 @@ Caveats
100100
- client: disable secure connection on dialing with `grpc.WithInsecure()`
101101
- client: set [max gRPC message size](https://github.com/grpc/grpc/issues/7927):
102102
- go: use `pb.DialContext` instead.
103+
- python: use `lookout.sdk.grpc.create_channel` instead.
103104
- client: turn off [gRPC fail-fast](https://github.com/grpc/grpc/blob/master/doc/wait-for-ready.md) mode
104105
If your analyzer greedy creates a connection to DataServer before one was actually started, you might want to disable fail-fast mode. This way the RPCs are queued until the chanel ready. Here is an [example](https://github.com/src-d/lookout-gometalint-analyzer/blob/7b4b37fb3109299516fbb43017934d131784f49f/cmd/gometalint-analyzer/main.go#L66).
105-
- go client/server: use `pb.ToGoGrpcAddress` and `pb.Listen` to support [RFC 3986 URI scheme](https://github.com/grpc/grpc-go/issues/1911)
106+
- client/server RFC 3986 URI scheme support:
107+
- go: use `pb.ToGoGrpcAddress` and `pb.Listen`
108+
- python: use `lookout.sdk.grpc.to_grpc_address`
106109

107110
Release Process
108111
=================

0 commit comments

Comments
 (0)