Closed ewanharris closed 1 week ago
Currently we accept a str for the users parameter in list_users this should be of type FgaObject
str
users
list_users
FgaObject
The list_users call should accept FgaObject and look like below
response = await fga_client.list_users( ClientListUsersRequest( object=FgaObject(type="document",id="roadmap"), relation="viewer", user_filters=[ UserTypeFilter(type="user") ], context=dict(ViewCount=100), ) )
v0.4.3
v1.5.4
Using the example
No response
Checklist
Description
Currently we accept a
str
for theusers
parameter inlist_users
this should be of typeFgaObject
Expectation
The
list_users
call should acceptFgaObject
and look like belowReproduction
list_users
endpointOpenFGA SDK version
v0.4.3
OpenFGA version
v1.5.4
SDK Configuration
Using the example
Logs
No response
References
No response