openfga / python-sdk

OpenFGA SDK for Python 3 - https://pypi.org/project/openfga-sdk/
https://openfga.dev
Apache License 2.0
38 stars 15 forks source link

chore: add test to cover not sending empty array when other has data #68

Closed ewanharris closed 9 months ago

ewanharris commented 9 months ago

Description

Adds the Deletes property to the test to ensure that we don't pass this when it is empty. Given that we don't match on body this isn't really much gain but it will help to ensure we maintain this in future if we improve testing.

Also copies across some recent changes from the sdk-generator repo

References

Part of https://github.com/openfga/sdk-generator/issues/299 Generated from https://github.com/openfga/sdk-generator/pull/306

Review Checklist