Skip to content

Commit e0ffe04

Browse files
committed
fga_client
1 parent 1f4c734 commit e0ffe04

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ options = {
373373
}
374374
body = ClientReadChangesRequest("document")
375375

376-
response = await api_instance.read_changes(body, options)
376+
response = await fga_client.read_changes(body, options)
377377
# response.continuation_token = ...
378378
# response.changes = [TupleChange(tuple_key=TupleKey(object="...",relation="...",user="..."),operation=TupleOperation("TUPLE_OPERATION_WRITE"),timestamp=datetime.fromisoformat("..."))]
379379
```
@@ -413,7 +413,7 @@ body = TupleKey(
413413
// Read all stored relationship tuples
414414
body := ReadRequest()
415415

416-
response = await api_instance.read(body)
416+
response = await fga_client.read(body)
417417
# response = ReadResponse({"tuples": [Tuple({"key": TupleKey({"user":"...","relation":"...","object":"..."}), "timestamp": datetime.fromisoformat("...") })]})
418418
```
419419

@@ -653,7 +653,7 @@ body = ClientListObjectsRequest(
653653
]
654654
)
655655

656-
response = await api_instance.list_objects(body)
656+
response = await fga_client.list_objects(body)
657657
# response.objects = ["document:roadmap"]
658658
```
659659

0 commit comments

Comments
 (0)