Skip to content

Commit 007f19a

Browse files
committed
get_distributed_object: skip unsupported cacheService
1 parent 59d564f commit 007f19a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hazelcast/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,10 @@ def get_distributed_objects(self) -> typing.List[Proxy]:
497497
response = client_get_distributed_objects_codec.decode_response(invocation.future.result())
498498
for dist_obj_info in response:
499499
local_distributed_object_infos.discard(dist_obj_info)
500+
501+
# python does not support JCache
502+
if dist_obj_info.service_name == "hz:impl:cacheService":
503+
continue
500504
self._proxy_manager.get_or_create(
501505
dist_obj_info.service_name, dist_obj_info.name, create_on_remote=False
502506
)

0 commit comments

Comments
 (0)