authzed / authzed-py

Official SpiceDB client library for Python
https://docs.authzed.com/reference/api
Apache License 2.0
33 stars 13 forks source link

Export stable CheckBulk messages #169

Closed mateenkasim closed 4 months ago

mateenkasim commented 4 months ago

The experimental BulkCheckPermission has been deprecated, with this message shown in the gRPC docs:

NOTE: BulkCheckPermission has been promoted to the stable API as "CheckBulkPermission" and the API will be removed from experimental in a future release.

This MR exports pieces of the new stable API at the top level of this package, allowing cleaner access via

from authzed.api.v1 import CheckBulkPermissionsRequest, WriteRelationshipsRequest

rather than

from authzed.api.v1.permission_service_pb2 import CheckBulkPermissionsRequest
from authzed.api.v1 import WriteRelationshipsRequest
github-actions[bot] commented 4 months ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

mateenkasim commented 4 months ago

I have read the CLA Document and I hereby sign the CLA

mateenkasim commented 4 months ago

recheck