authzed-py
authzed-py copied to clipboard
Include re-exports in pyi file
- The recent addition of the
__init__.pyi
file means VSCode's Pylance looks to that file for static analysis, rather than the.py
file. - This PR copies re-exports to the
.pyi
file, allowing VSCode to resolve re-exported paths such as this:
from authzed.api.v1 import CheckPermissionRequest
# Without this PR, Pylance only resolves this path
# from authzed.api.v1.permission_service_pb2 import CheckPermissionRequest