Skip to content

Commit 647acec

Browse files
committed
feat: remove API options from readme
1 parent 6135882 commit 647acec

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -752,16 +752,6 @@ response = await fga_client.write(body, options)
752752

753753
With OpenFGA [v1.10.0](https://github.com/openfga/openfga/releases/tag/v1.10.0) and later, support for write conflict options to handle duplicate writes and missing deletes gracefully has been added.
754754

755-
**Available Options:**
756-
757-
- `on_duplicate` - Controls behavior when writing a tuple that already exists:
758-
- `ERROR` (default): Returns an error if an identical tuple already exists
759-
- `IGNORE`: Silently ignores duplicate writes (treats as no-op)
760-
761-
- `on_missing` - Controls behavior when deleting a tuple that doesn't exist:
762-
- `ERROR` (default): Returns an error if the tuple doesn't exist
763-
- `IGNORE`: Silently ignores deletes of non-existent tuples (treats as no-op)
764-
765755
**Example: Ignoring duplicate writes**
766756

767757
```python

0 commit comments

Comments
 (0)