File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Connect RPC clients support standard HTTP authentication:
4747``` python
4848import httpx
4949
50- # Create authenticated HTTP client
50+ # Create authenticated HTTP client, assuming `token` holds your auth token
5151http_client = httpx.Client(
5252 headers = {" Authorization" : f " Bearer { token} " }
5353)
@@ -79,7 +79,7 @@ uv run python scripts/generate_connect_proto.py --download
7979
8080### Requirements
8181
82- - ` buf ` tool: ` brew install bufbuild/buf/buf `
82+ - ` buf ` tool: ` brew install bufbuild/buf/buf ` (or see [ official installation guide ] ( https://buf.build/docs/installation ) )
8383- Python dependencies managed by ` uv `
8484
8585## Benefits Over gRPC
@@ -122,7 +122,7 @@ def test_connect_rpc_client():
122122 headers = {' Content-Type' : ' application/proto' }
123123 )
124124 )
125-
125+
126126 client = kas_connect.KeyAccessServiceClient(base_url = " https://example.com" )
127127 # Test client calls...
128128```
@@ -153,4 +153,4 @@ except ConnectError as e:
153153For more information, see:
154154- [ Connect RPC Documentation] ( https://connectrpc.com/docs/ )
155155- [ Connect Python Repository] ( https://github.com/connectrpc/connect-python )
156- - [ OpenTDF Platform] ( https://github.com/opentdf/platform )
156+ - [ OpenTDF Platform] ( https://github.com/opentdf/platform )
You can’t perform that action at this time.
0 commit comments