openfga / python-sdk

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

chore!: remove excluded users from ListUsers response #101

Closed ewanharris closed 1 week ago

ewanharris commented 1 week ago

Description

Removes excluded_users from the response of all SDKs as it was removed from OpenFGA with https://github.com/openfga/api/pull/171.

This feature was originally a well-intentioned way to communicate any negations that may exist on public-typed wildcard (e.g. user:*) as a means of being abundantly clear about what a user:* result entails. However, as we discover more possible situations where excluded users could arise, we realize that we were making a premature decision about the API. We fully intend to re-add excluded_users at some point in the future but may or may not be a flattened list as previously implemented.

Please note:

References

Review Checklist

codecov-commenter commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.37%. Comparing base (326fd27) to head (a56da62). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #101 +/- ## ========================================== + Coverage 68.06% 68.37% +0.31% ========================================== Files 114 113 -1 Lines 8968 8917 -51 ========================================== - Hits 6104 6097 -7 + Misses 2864 2820 -44 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.