Mateen Kasim

Results 9 comments of Mateen Kasim

Any progress on this? I'm testing out spicedb for the first time, trying to make calls from within a k8s cluster, and I'd prefer using this client over the HTTP...

`InsecureClient` works like a charm – thank you! The new `init_stubs` method made it easy to add the `HealthStub`, too. ```python from authzed.api.v1 import InsecureClient from grpc_health.v1.health_pb2_grpc import HealthStub from...

For the heterogeneous case, you're right that it wouldn't be better than parallelizing requests. That's a good point! For the homogeneous case, which my example above describes, I believe you...

That would work, yes! If both `RelationshipFilter.optional_resource_id` and `SubjectFilter.optional_subject_id` could be lists, I think that would cover a lot of cases and reduce datastore connections.

New fields would be equally useful. I'm interested in the functionality, but I leave the interface to you

I think this is the same request as was asked here, setting a relationship regardless of the previous value: https://github.com/authzed/spicedb/issues/887

I'd personally prefer your first solution – seems clearer and easier to debug if someone misuses it, especially if it had a distinctive name or fell under an obvious rpc...

That looks great – `Bootstrap` and `Clone` cover all the setup cases I can think of, and `TearDown` looks as easy as it gets! Although `TearDownRequest.token` and `CloneRequest.target_token` are redundant...

Also experiencing this. Since I'm using tokens with 5-minute expiration (Keycloak default), it just takes closing your tab for >5 minutes to hit it. The linked issue mentions that Keycloak's...