File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pip install pydgraph
45
45
46
46
### Install Notes
47
47
48
- To avoid issues when adding composite credentials or when using client authorization, please install gRPC version 1.19.0:
48
+ To avoid issues when adding composite credentials or when using client authorization, please install gRPC version 1.19.0:
49
49
50
50
``` sh
51
51
pip install grpcio==1.19.0
@@ -300,10 +300,12 @@ txn.do_request(request)
300
300
301
301
### Running an Upsert: Query + Mutation
302
302
303
- The ` txn.do_request ` function allows you to run upserts consisting of one query and
304
- one mutation. Query variables could be defined and can then be used in the mutation.
303
+ The ` txn.do_request ` function allows you to use upsert blocks consisting of one
304
+ query block and one mutation block. Query variables can be defined and can then
305
+ be used in the mutation.
305
306
306
- To know more about upsert, we highly recommend going through the [ mutations docs] ( https://docs.dgraph.io/mutations/#upsert-block ) .
307
+ To learn more about upsert blocks, see the
308
+ [ Upsert Block docs] ( https://dgraph.io/docs/mutations/upsert-block/ ) .
307
309
308
310
``` python
309
311
query = """ {
You can’t perform that action at this time.
0 commit comments