Skip to content

Commit

Permalink
Merge pull request #202 from mateenkasim/insecure-client-stub
Browse files Browse the repository at this point in the history
Add InsecureClient to stub file
  • Loading branch information
tstirrat15 authored Sep 10, 2024
2 parents f3ea1ad + 97f78d3 commit a5e4e3a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions authzed/api/v1/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ class AsyncClient(
compression: Optional[grpc.Compression] = None,
) -> None: ...

class InsecureClient(Client):
def __init__(
self,
target: str,
token: str,
options=None,
compression=None,
) -> None: ...

__all__ = [
"Client",
# Core
Expand Down Expand Up @@ -133,6 +142,7 @@ __all__ = [
"DeleteRelationshipsResponse",
"ExpandPermissionTreeRequest",
"ExpandPermissionTreeResponse",
"InsecureClient",
"LookupResourcesRequest",
"LookupResourcesResponse",
"LookupSubjectsRequest",
Expand Down

0 comments on commit a5e4e3a

Please sign in to comment.