hazelcast-python-client 5.5.0__tar.gz → 5.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. {hazelcast_python_client-5.5.0/hazelcast_python_client.egg-info → hazelcast_python_client-5.6.0}/PKG-INFO +16 -8
  2. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/README.rst +2 -2
  3. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/__init__.py +1 -1
  4. hazelcast_python_client-5.6.0/hazelcast/asyncio/__init__.py +10 -0
  5. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/client.py +46 -4
  6. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/config.py +1 -1
  7. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_client.py +480 -0
  8. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_cluster.py +392 -0
  9. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_compact.py +149 -0
  10. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_connection.py +1065 -0
  11. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_discovery.py +58 -0
  12. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_invocation.py +446 -0
  13. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_listener.py +292 -0
  14. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_partition.py +165 -0
  15. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_proxy/base.py +231 -0
  16. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_proxy/manager.py +62 -0
  17. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_proxy/map.py +1793 -0
  18. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_proxy/vector_collection.py +431 -0
  19. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_reactor.py +352 -0
  20. hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_statistics.py +394 -0
  21. hazelcast_python_client-5.6.0/hazelcast/protocol/codec/__init__.py +0 -0
  22. hazelcast_python_client-5.6.0/hazelcast/protocol/codec/custom/__init__.py +0 -0
  23. hazelcast_python_client-5.6.0/hazelcast/protocol/codec/dynamic_config_add_vector_collection_config_codec.py +29 -0
  24. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_optimize_codec.py +6 -2
  25. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/vector_collection.py +23 -20
  26. hazelcast_python_client-5.6.0/hazelcast/py.typed +0 -0
  27. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/vector.py +2 -2
  28. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0/hazelcast_python_client.egg-info}/PKG-INFO +16 -8
  29. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast_python_client.egg-info/SOURCES.txt +18 -0
  30. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/setup.py +2 -4
  31. hazelcast_python_client-5.5.0/hazelcast/protocol/codec/dynamic_config_add_vector_collection_config_codec.py +0 -18
  32. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/LICENSE.txt +0 -0
  33. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/MANIFEST.in +0 -0
  34. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/aggregator.py +0 -0
  35. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/asyncore.py +0 -0
  36. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/cluster.py +0 -0
  37. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/compact.py +0 -0
  38. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/connection.py +0 -0
  39. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/core.py +0 -0
  40. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/cp.py +0 -0
  41. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/db.py +0 -0
  42. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/discovery.py +0 -0
  43. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/errors.py +0 -0
  44. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/future.py +0 -0
  45. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/hash.py +0 -0
  46. {hazelcast_python_client-5.5.0/hazelcast/protocol/codec → hazelcast_python_client-5.6.0/hazelcast/internal}/__init__.py +0 -0
  47. {hazelcast_python_client-5.5.0/hazelcast/protocol/codec/custom → hazelcast_python_client-5.6.0/hazelcast/internal/asyncio_proxy}/__init__.py +0 -0
  48. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/invocation.py +0 -0
  49. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/lifecycle.py +0 -0
  50. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/listener.py +0 -0
  51. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/metrics.py +0 -0
  52. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/near_cache.py +0 -0
  53. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/partition.py +0 -0
  54. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/predicate.py +0 -0
  55. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/projection.py +0 -0
  56. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/__init__.py +0 -0
  57. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/builtin.py +0 -0
  58. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/client_message.py +0 -0
  59. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_long_add_and_get_codec.py +0 -0
  60. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_long_alter_codec.py +0 -0
  61. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_long_apply_codec.py +0 -0
  62. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_long_compare_and_set_codec.py +0 -0
  63. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_long_get_and_add_codec.py +0 -0
  64. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_long_get_and_set_codec.py +0 -0
  65. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_long_get_codec.py +0 -0
  66. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_ref_apply_codec.py +0 -0
  67. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_ref_compare_and_set_codec.py +0 -0
  68. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_ref_contains_codec.py +0 -0
  69. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_ref_get_codec.py +0 -0
  70. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/atomic_ref_set_codec.py +0 -0
  71. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_add_cluster_view_listener_codec.py +0 -0
  72. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_add_distributed_object_listener_codec.py +0 -0
  73. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_authentication_codec.py +0 -0
  74. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_authentication_custom_codec.py +0 -0
  75. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_create_proxy_codec.py +0 -0
  76. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_destroy_proxy_codec.py +0 -0
  77. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_fetch_schema_codec.py +0 -0
  78. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_get_distributed_objects_codec.py +0 -0
  79. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_local_backup_listener_codec.py +0 -0
  80. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_ping_codec.py +0 -0
  81. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_remove_distributed_object_listener_codec.py +0 -0
  82. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_send_all_schemas_codec.py +0 -0
  83. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_send_schema_codec.py +0 -0
  84. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/client_statistics_codec.py +0 -0
  85. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/count_down_latch_await_codec.py +0 -0
  86. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/count_down_latch_count_down_codec.py +0 -0
  87. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/count_down_latch_get_count_codec.py +0 -0
  88. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/count_down_latch_get_round_codec.py +0 -0
  89. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/count_down_latch_try_set_count_codec.py +0 -0
  90. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/cp_group_create_cp_group_codec.py +0 -0
  91. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/cp_group_destroy_cp_object_codec.py +0 -0
  92. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/cp_session_close_session_codec.py +0 -0
  93. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/cp_session_create_session_codec.py +0 -0
  94. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/cp_session_generate_thread_id_codec.py +0 -0
  95. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/cp_session_heartbeat_session_codec.py +0 -0
  96. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/address_codec.py +0 -0
  97. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/anchor_data_list_holder_codec.py +0 -0
  98. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/bitmap_index_options_codec.py +0 -0
  99. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/distributed_object_info_codec.py +0 -0
  100. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/endpoint_qualifier_codec.py +0 -0
  101. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/error_holder_codec.py +0 -0
  102. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/field_descriptor_codec.py +0 -0
  103. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/hazelcast_json_value_codec.py +0 -0
  104. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/index_config_codec.py +0 -0
  105. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/member_info_codec.py +0 -0
  106. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/member_version_codec.py +0 -0
  107. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/paging_predicate_holder_codec.py +0 -0
  108. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/raft_group_id_codec.py +0 -0
  109. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/schema_codec.py +0 -0
  110. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/simple_entry_view_codec.py +0 -0
  111. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/sql_column_metadata_codec.py +0 -0
  112. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/sql_error_codec.py +0 -0
  113. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/sql_query_id_codec.py +0 -0
  114. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/stack_trace_element_codec.py +0 -0
  115. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/vector_document_codec.py +0 -0
  116. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/vector_index_config_codec.py +0 -0
  117. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/vector_pair_codec.py +0 -0
  118. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/vector_search_options_codec.py +0 -0
  119. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/custom/vector_search_result_codec.py +0 -0
  120. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/executor_service_is_shutdown_codec.py +0 -0
  121. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/executor_service_shutdown_codec.py +0 -0
  122. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/executor_service_submit_to_member_codec.py +0 -0
  123. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/executor_service_submit_to_partition_codec.py +0 -0
  124. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/fenced_lock_get_lock_ownership_codec.py +0 -0
  125. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/fenced_lock_lock_codec.py +0 -0
  126. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/fenced_lock_try_lock_codec.py +0 -0
  127. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/fenced_lock_unlock_codec.py +0 -0
  128. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/flake_id_generator_new_id_batch_codec.py +0 -0
  129. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_add_all_codec.py +0 -0
  130. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_add_all_with_index_codec.py +0 -0
  131. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_add_codec.py +0 -0
  132. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_add_listener_codec.py +0 -0
  133. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_add_with_index_codec.py +0 -0
  134. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_clear_codec.py +0 -0
  135. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_compare_and_remove_all_codec.py +0 -0
  136. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_compare_and_retain_all_codec.py +0 -0
  137. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_contains_all_codec.py +0 -0
  138. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_contains_codec.py +0 -0
  139. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_get_all_codec.py +0 -0
  140. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_get_codec.py +0 -0
  141. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_index_of_codec.py +0 -0
  142. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_is_empty_codec.py +0 -0
  143. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_iterator_codec.py +0 -0
  144. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_last_index_of_codec.py +0 -0
  145. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_list_iterator_codec.py +0 -0
  146. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_remove_codec.py +0 -0
  147. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_remove_listener_codec.py +0 -0
  148. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_remove_with_index_codec.py +0 -0
  149. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_set_codec.py +0 -0
  150. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_size_codec.py +0 -0
  151. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/list_sub_codec.py +0 -0
  152. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_add_entry_listener_codec.py +0 -0
  153. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_add_entry_listener_to_key_codec.py +0 -0
  154. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_add_entry_listener_to_key_with_predicate_codec.py +0 -0
  155. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_add_entry_listener_with_predicate_codec.py +0 -0
  156. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_add_index_codec.py +0 -0
  157. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_add_interceptor_codec.py +0 -0
  158. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_add_near_cache_invalidation_listener_codec.py +0 -0
  159. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_aggregate_codec.py +0 -0
  160. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_aggregate_with_predicate_codec.py +0 -0
  161. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_clear_codec.py +0 -0
  162. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_contains_key_codec.py +0 -0
  163. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_contains_value_codec.py +0 -0
  164. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_delete_codec.py +0 -0
  165. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_entries_with_paging_predicate_codec.py +0 -0
  166. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_entries_with_predicate_codec.py +0 -0
  167. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_entry_set_codec.py +0 -0
  168. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_evict_all_codec.py +0 -0
  169. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_evict_codec.py +0 -0
  170. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_execute_on_all_keys_codec.py +0 -0
  171. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_execute_on_key_codec.py +0 -0
  172. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_execute_on_keys_codec.py +0 -0
  173. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_execute_with_predicate_codec.py +0 -0
  174. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_flush_codec.py +0 -0
  175. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_force_unlock_codec.py +0 -0
  176. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_get_all_codec.py +0 -0
  177. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_get_codec.py +0 -0
  178. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_get_entry_view_codec.py +0 -0
  179. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_is_empty_codec.py +0 -0
  180. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_is_locked_codec.py +0 -0
  181. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_key_set_codec.py +0 -0
  182. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_key_set_with_paging_predicate_codec.py +0 -0
  183. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_key_set_with_predicate_codec.py +0 -0
  184. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_load_all_codec.py +0 -0
  185. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_load_given_keys_codec.py +0 -0
  186. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_lock_codec.py +0 -0
  187. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_project_codec.py +0 -0
  188. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_project_with_predicate_codec.py +0 -0
  189. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_put_all_codec.py +0 -0
  190. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_put_codec.py +0 -0
  191. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_put_if_absent_codec.py +0 -0
  192. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_put_if_absent_with_max_idle_codec.py +0 -0
  193. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_put_transient_codec.py +0 -0
  194. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_put_transient_with_max_idle_codec.py +0 -0
  195. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_put_with_max_idle_codec.py +0 -0
  196. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_remove_all_codec.py +0 -0
  197. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_remove_codec.py +0 -0
  198. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_remove_entry_listener_codec.py +0 -0
  199. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_remove_if_same_codec.py +0 -0
  200. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_remove_interceptor_codec.py +0 -0
  201. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_replace_codec.py +0 -0
  202. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_replace_if_same_codec.py +0 -0
  203. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_set_codec.py +0 -0
  204. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_set_ttl_codec.py +0 -0
  205. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_set_with_max_idle_codec.py +0 -0
  206. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_size_codec.py +0 -0
  207. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_try_lock_codec.py +0 -0
  208. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_try_put_codec.py +0 -0
  209. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_try_remove_codec.py +0 -0
  210. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_unlock_codec.py +0 -0
  211. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_values_codec.py +0 -0
  212. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_values_with_paging_predicate_codec.py +0 -0
  213. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/map_values_with_predicate_codec.py +0 -0
  214. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_add_entry_listener_codec.py +0 -0
  215. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_add_entry_listener_to_key_codec.py +0 -0
  216. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_clear_codec.py +0 -0
  217. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_contains_entry_codec.py +0 -0
  218. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_contains_key_codec.py +0 -0
  219. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_contains_value_codec.py +0 -0
  220. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_entry_set_codec.py +0 -0
  221. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_force_unlock_codec.py +0 -0
  222. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_get_codec.py +0 -0
  223. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_is_locked_codec.py +0 -0
  224. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_key_set_codec.py +0 -0
  225. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_lock_codec.py +0 -0
  226. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_put_all_codec.py +0 -0
  227. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_put_codec.py +0 -0
  228. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_remove_codec.py +0 -0
  229. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_remove_entry_codec.py +0 -0
  230. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_remove_entry_listener_codec.py +0 -0
  231. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_size_codec.py +0 -0
  232. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_try_lock_codec.py +0 -0
  233. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_unlock_codec.py +0 -0
  234. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_value_count_codec.py +0 -0
  235. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/multi_map_values_codec.py +0 -0
  236. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/pn_counter_add_codec.py +0 -0
  237. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/pn_counter_get_codec.py +0 -0
  238. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/pn_counter_get_configured_replica_count_codec.py +0 -0
  239. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_add_all_codec.py +0 -0
  240. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_add_listener_codec.py +0 -0
  241. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_clear_codec.py +0 -0
  242. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_compare_and_remove_all_codec.py +0 -0
  243. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_compare_and_retain_all_codec.py +0 -0
  244. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_contains_all_codec.py +0 -0
  245. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_contains_codec.py +0 -0
  246. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_drain_to_max_size_codec.py +0 -0
  247. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_is_empty_codec.py +0 -0
  248. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_iterator_codec.py +0 -0
  249. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_offer_codec.py +0 -0
  250. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_peek_codec.py +0 -0
  251. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_poll_codec.py +0 -0
  252. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_put_codec.py +0 -0
  253. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_remaining_capacity_codec.py +0 -0
  254. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_remove_codec.py +0 -0
  255. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_remove_listener_codec.py +0 -0
  256. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_size_codec.py +0 -0
  257. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/queue_take_codec.py +0 -0
  258. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_add_entry_listener_codec.py +0 -0
  259. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_add_entry_listener_to_key_codec.py +0 -0
  260. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_add_entry_listener_to_key_with_predicate_codec.py +0 -0
  261. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_add_entry_listener_with_predicate_codec.py +0 -0
  262. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_clear_codec.py +0 -0
  263. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_contains_key_codec.py +0 -0
  264. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_contains_value_codec.py +0 -0
  265. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_entry_set_codec.py +0 -0
  266. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_get_codec.py +0 -0
  267. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_is_empty_codec.py +0 -0
  268. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_key_set_codec.py +0 -0
  269. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_put_all_codec.py +0 -0
  270. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_put_codec.py +0 -0
  271. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_remove_codec.py +0 -0
  272. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_remove_entry_listener_codec.py +0 -0
  273. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_size_codec.py +0 -0
  274. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/replicated_map_values_codec.py +0 -0
  275. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_add_all_codec.py +0 -0
  276. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_add_codec.py +0 -0
  277. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_capacity_codec.py +0 -0
  278. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_head_sequence_codec.py +0 -0
  279. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_read_many_codec.py +0 -0
  280. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_read_one_codec.py +0 -0
  281. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_remaining_capacity_codec.py +0 -0
  282. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_size_codec.py +0 -0
  283. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/ringbuffer_tail_sequence_codec.py +0 -0
  284. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/semaphore_acquire_codec.py +0 -0
  285. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/semaphore_available_permits_codec.py +0 -0
  286. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/semaphore_change_codec.py +0 -0
  287. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/semaphore_drain_codec.py +0 -0
  288. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/semaphore_get_semaphore_type_codec.py +0 -0
  289. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/semaphore_init_codec.py +0 -0
  290. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/semaphore_release_codec.py +0 -0
  291. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_add_all_codec.py +0 -0
  292. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_add_codec.py +0 -0
  293. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_add_listener_codec.py +0 -0
  294. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_clear_codec.py +0 -0
  295. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_compare_and_remove_all_codec.py +0 -0
  296. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_compare_and_retain_all_codec.py +0 -0
  297. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_contains_all_codec.py +0 -0
  298. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_contains_codec.py +0 -0
  299. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_get_all_codec.py +0 -0
  300. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_is_empty_codec.py +0 -0
  301. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_remove_codec.py +0 -0
  302. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_remove_listener_codec.py +0 -0
  303. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/set_size_codec.py +0 -0
  304. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/sql_close_codec.py +0 -0
  305. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/sql_execute_codec.py +0 -0
  306. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/sql_fetch_codec.py +0 -0
  307. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/topic_add_message_listener_codec.py +0 -0
  308. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/topic_publish_all_codec.py +0 -0
  309. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/topic_publish_codec.py +0 -0
  310. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/topic_remove_message_listener_codec.py +0 -0
  311. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transaction_commit_codec.py +0 -0
  312. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transaction_create_codec.py +0 -0
  313. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transaction_rollback_codec.py +0 -0
  314. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_list_add_codec.py +0 -0
  315. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_list_remove_codec.py +0 -0
  316. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_list_size_codec.py +0 -0
  317. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_contains_key_codec.py +0 -0
  318. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_delete_codec.py +0 -0
  319. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_get_codec.py +0 -0
  320. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_get_for_update_codec.py +0 -0
  321. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_is_empty_codec.py +0 -0
  322. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_key_set_codec.py +0 -0
  323. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_key_set_with_predicate_codec.py +0 -0
  324. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_put_codec.py +0 -0
  325. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_put_if_absent_codec.py +0 -0
  326. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_remove_codec.py +0 -0
  327. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_remove_if_same_codec.py +0 -0
  328. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_replace_codec.py +0 -0
  329. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_replace_if_same_codec.py +0 -0
  330. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_set_codec.py +0 -0
  331. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_size_codec.py +0 -0
  332. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_values_codec.py +0 -0
  333. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_map_values_with_predicate_codec.py +0 -0
  334. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_multi_map_get_codec.py +0 -0
  335. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_multi_map_put_codec.py +0 -0
  336. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_multi_map_remove_codec.py +0 -0
  337. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_multi_map_remove_entry_codec.py +0 -0
  338. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_multi_map_size_codec.py +0 -0
  339. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_multi_map_value_count_codec.py +0 -0
  340. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_queue_offer_codec.py +0 -0
  341. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_queue_peek_codec.py +0 -0
  342. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_queue_poll_codec.py +0 -0
  343. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_queue_size_codec.py +0 -0
  344. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_queue_take_codec.py +0 -0
  345. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_set_add_codec.py +0 -0
  346. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_set_remove_codec.py +0 -0
  347. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/transactional_set_size_codec.py +0 -0
  348. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_clear_codec.py +0 -0
  349. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_delete_codec.py +0 -0
  350. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_get_codec.py +0 -0
  351. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_put_all_codec.py +0 -0
  352. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_put_codec.py +0 -0
  353. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_put_if_absent_codec.py +0 -0
  354. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_remove_codec.py +0 -0
  355. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_search_near_vector_codec.py +0 -0
  356. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_set_codec.py +0 -0
  357. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/protocol/codec/vector_collection_size_codec.py +0 -0
  358. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/__init__.py +0 -0
  359. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/base.py +0 -0
  360. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/cp/__init__.py +0 -0
  361. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/cp/atomic_long.py +0 -0
  362. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/cp/atomic_reference.py +0 -0
  363. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/cp/count_down_latch.py +0 -0
  364. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/cp/fenced_lock.py +0 -0
  365. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/cp/semaphore.py +0 -0
  366. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/executor.py +0 -0
  367. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/flake_id_generator.py +0 -0
  368. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/list.py +0 -0
  369. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/map.py +0 -0
  370. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/multi_map.py +0 -0
  371. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/pn_counter.py +0 -0
  372. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/queue.py +0 -0
  373. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/reliable_topic.py +0 -0
  374. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/replicated_map.py +0 -0
  375. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/ringbuffer.py +0 -0
  376. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/set.py +0 -0
  377. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/topic.py +0 -0
  378. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/transactional_list.py +0 -0
  379. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/transactional_map.py +0 -0
  380. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/transactional_multi_map.py +0 -0
  381. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/transactional_queue.py +0 -0
  382. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/proxy/transactional_set.py +0 -0
  383. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/reactor.py +0 -0
  384. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/security.py +0 -0
  385. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/__init__.py +0 -0
  386. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/api.py +0 -0
  387. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/bits.py +0 -0
  388. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/compact.py +0 -0
  389. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/data.py +0 -0
  390. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/input.py +0 -0
  391. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/objects.py +0 -0
  392. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/output.py +0 -0
  393. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/portable/__init__.py +0 -0
  394. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/portable/classdef.py +0 -0
  395. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/portable/context.py +0 -0
  396. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/portable/reader.py +0 -0
  397. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/portable/serializer.py +0 -0
  398. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/portable/writer.py +0 -0
  399. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/serialization_const.py +0 -0
  400. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/serializer.py +0 -0
  401. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/service.py +0 -0
  402. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/serialization/util.py +0 -0
  403. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/sql.py +0 -0
  404. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/statistics.py +0 -0
  405. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/transaction.py +0 -0
  406. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/types.py +0 -0
  407. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast/util.py +0 -0
  408. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast_python_client.egg-info/dependency_links.txt +0 -0
  409. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast_python_client.egg-info/requires.txt +0 -0
  410. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/hazelcast_python_client.egg-info/top_level.txt +0 -0
  411. {hazelcast_python_client-5.5.0 → hazelcast_python_client-5.6.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: hazelcast-python-client
3
- Version: 5.5.0
3
+ Version: 5.6.0
4
4
  Summary: Hazelcast Python Client
5
5
  Home-page: https://github.com/hazelcast/hazelcast-python-client
6
6
  Author: Hazelcast Inc. Developers
@@ -15,17 +15,25 @@ Classifier: Operating System :: OS Independent
15
15
  Classifier: Programming Language :: Python
16
16
  Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Programming Language :: Python :: 3 :: Only
18
- Classifier: Programming Language :: Python :: 3.7
19
- Classifier: Programming Language :: Python :: 3.8
20
- Classifier: Programming Language :: Python :: 3.9
21
- Classifier: Programming Language :: Python :: 3.10
22
18
  Classifier: Programming Language :: Python :: 3.11
23
19
  Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
24
22
  Classifier: Programming Language :: Python :: Implementation :: CPython
25
23
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
24
  License-File: LICENSE.txt
27
25
  Provides-Extra: stats
28
26
  Requires-Dist: psutil; extra == "stats"
27
+ Dynamic: author
28
+ Dynamic: author-email
29
+ Dynamic: classifier
30
+ Dynamic: description
31
+ Dynamic: home-page
32
+ Dynamic: keywords
33
+ Dynamic: license
34
+ Dynamic: license-file
35
+ Dynamic: provides-extra
36
+ Dynamic: summary
29
37
 
30
38
  Hazelcast Python Client
31
39
  =======================
@@ -78,7 +86,7 @@ images <https://hub.docker.com/r/hazelcast/hazelcast/>`__.
78
86
 
79
87
  .. code:: bash
80
88
 
81
- docker run -p 5701:5701 hazelcast/hazelcast:5.3.0
89
+ docker run -p 5701:5701 hazelcast/hazelcast:latest
82
90
 
83
91
  You can also use our ZIP or TAR
84
92
  `distributions <https://hazelcast.com/open-source-projects/downloads/>`__.
@@ -269,7 +277,7 @@ License
269
277
  Copyright
270
278
  ---------
271
279
 
272
- Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved.
280
+ Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.
273
281
 
274
282
  Visit `hazelcast.com <https://hazelcast.com>`__ for more
275
283
  information.
@@ -49,7 +49,7 @@ images <https://hub.docker.com/r/hazelcast/hazelcast/>`__.
49
49
 
50
50
  .. code:: bash
51
51
 
52
- docker run -p 5701:5701 hazelcast/hazelcast:5.3.0
52
+ docker run -p 5701:5701 hazelcast/hazelcast:latest
53
53
 
54
54
  You can also use our ZIP or TAR
55
55
  `distributions <https://hazelcast.com/open-source-projects/downloads/>`__.
@@ -240,7 +240,7 @@ License
240
240
  Copyright
241
241
  ---------
242
242
 
243
- Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved.
243
+ Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.
244
244
 
245
245
  Visit `hazelcast.com <https://hazelcast.com>`__ for more
246
246
  information.
@@ -1,4 +1,4 @@
1
- __version__ = "5.5.0"
1
+ __version__ = "5.6.0"
2
2
 
3
3
  # Set the default handler to "hazelcast" loggers
4
4
  # to avoid "No handlers could be found" warnings.
@@ -0,0 +1,10 @@
1
+ import warnings
2
+
3
+ warnings.warn("Asyncio API for Hazelcast Python Client is BETA. DO NOT use it in production.")
4
+ del warnings
5
+
6
+ __all__ = ["EntryEventCallable", "HazelcastClient", "Map", "VectorCollection"]
7
+
8
+ from hazelcast.internal.asyncio_client import HazelcastClient
9
+ from hazelcast.internal.asyncio_proxy.map import Map, EntryEventCallable
10
+ from hazelcast.internal.asyncio_proxy.vector_collection import VectorCollection
@@ -49,6 +49,7 @@ from hazelcast.proxy import (
49
49
  Ringbuffer,
50
50
  Set,
51
51
  Topic,
52
+ _proxy_init,
52
53
  )
53
54
  from hazelcast.proxy.base import Proxy
54
55
  from hazelcast.proxy.map import Map
@@ -67,6 +68,8 @@ from hazelcast.vector import IndexConfig
67
68
 
68
69
  _logger = logging.getLogger(__name__)
69
70
 
71
+ _SUPPORTED_DDS_NAMES = set(_proxy_init.keys())
72
+
70
73
 
71
74
  class HazelcastClient:
72
75
  """Hazelcast client instance to access and manipulate distributed data
@@ -378,19 +381,53 @@ class HazelcastClient:
378
381
  """
379
382
  return self._proxy_manager.get_or_create(TOPIC_SERVICE, name)
380
383
 
381
- def create_vector_collection_config(self, name: str, indexes: typing.List[IndexConfig]) -> None:
384
+ def create_vector_collection_config(
385
+ self,
386
+ name: str,
387
+ indexes: typing.List[IndexConfig],
388
+ backup_count: int = 1,
389
+ async_backup_count: int = 0,
390
+ split_brain_protection_name: typing.Optional[str] = None,
391
+ merge_policy: str = "PutIfAbsentMergePolicy",
392
+ merge_batch_size: int = 100,
393
+ ) -> None:
394
+ """Creates a vector collection with the given configuration.
395
+
396
+ Args:
397
+ name: Name of the distributed map.
398
+ indexes: One or more index configurations. The index names must be unique.
399
+ backup_count: Number of backups to keep for the vector collection.
400
+ split_brain_protection_name: Name of the split brain protection configuration. See https://docs.hazelcast.com/hazelcast/5.6/data-structures/vector-collections#split-brain-protection
401
+ merge_policy: The merge policy to use while recovering in a split brain situation. See https://docs.hazelcast.com/hazelcast/5.6/data-structures/vector-collections#merge-policy
402
+ """
382
403
  # check that indexes have different names
383
404
  if indexes:
384
405
  index_names = set(index.name for index in indexes)
385
406
  if len(index_names) != len(indexes):
386
407
  raise AssertionError("index names must be unique")
387
408
 
388
- request = dynamic_config_add_vector_collection_config_codec.encode_request(name, indexes)
409
+ request = dynamic_config_add_vector_collection_config_codec.encode_request(
410
+ name,
411
+ indexes,
412
+ backup_count,
413
+ async_backup_count,
414
+ split_brain_protection_name,
415
+ merge_policy,
416
+ merge_batch_size,
417
+ )
389
418
  invocation = Invocation(request, response_handler=lambda m: m)
390
419
  self._invocation_service.invoke(invocation)
391
420
  invocation.future.result()
392
421
 
393
422
  def get_vector_collection(self, name: str) -> VectorCollection:
423
+ """Returns the vector collection instance with the specified name.
424
+
425
+ Args:
426
+ name: Name of the vector collection.
427
+
428
+ Returns:
429
+ Vector collection instance with the specified name.
430
+ """
394
431
  return self._proxy_manager.get_or_create(VECTOR_SERVICE, name)
395
432
 
396
433
  def new_transaction(
@@ -451,14 +488,14 @@ class HazelcastClient:
451
488
  Returns silently if there is no such listener added before.
452
489
 
453
490
  Args:
454
- registration_id: The id of registered listener.
491
+ registration_id: The id of the registered listener.
455
492
 
456
493
  Returns:
457
494
  ``True`` if registration is removed, ``False`` otherwise.
458
495
  """
459
496
  return self._listener_service.deregister_listener(registration_id)
460
497
 
461
- def get_distributed_objects(self) -> Future[typing.List[Proxy]]:
498
+ def get_distributed_objects(self) -> typing.List[Proxy]:
462
499
  """Returns all distributed objects such as; queue, map, set, list,
463
500
  topic, lock, multimap.
464
501
 
@@ -478,8 +515,13 @@ class HazelcastClient:
478
515
  }
479
516
 
480
517
  response = client_get_distributed_objects_codec.decode_response(invocation.future.result())
518
+
481
519
  for dist_obj_info in response:
482
520
  local_distributed_object_infos.discard(dist_obj_info)
521
+
522
+ # skip unsupported proxies, e.g., hz:impl:cacheService
523
+ if dist_obj_info.service_name not in _SUPPORTED_DDS_NAMES:
524
+ continue
483
525
  self._proxy_manager.get_or_create(
484
526
  dist_obj_info.service_name, dist_obj_info.name, create_on_remote=False
485
527
  )
@@ -963,7 +963,7 @@ class Config:
963
963
  @compact_serializers.setter
964
964
  def compact_serializers(self, value: typing.List[CompactSerializer]) -> None:
965
965
  if not isinstance(value, list):
966
- raise TypeError("compact_serializers must be a dict")
966
+ raise TypeError("compact_serializers must be a list")
967
967
 
968
968
  for serializer in value:
969
969
  if not isinstance(serializer, CompactSerializer):
@@ -0,0 +1,480 @@
1
+ import asyncio
2
+ import logging
3
+ import sys
4
+ import typing
5
+
6
+ from hazelcast.internal.asyncio_cluster import ClusterService, _InternalClusterService
7
+ from hazelcast.internal.asyncio_compact import CompactSchemaService
8
+ from hazelcast.config import Config, IndexConfig
9
+ from hazelcast.internal.asyncio_connection import ConnectionManager, DefaultAsyncioAddressProvider
10
+ from hazelcast.core import DistributedObjectEvent, DistributedObjectInfo
11
+ from hazelcast.discovery import HazelcastCloudAddressProvider
12
+ from hazelcast.errors import IllegalStateError, InvalidConfigurationError
13
+ from hazelcast.internal.asyncio_invocation import InvocationService, Invocation
14
+ from hazelcast.internal.asyncio_proxy.vector_collection import VectorCollection
15
+ from hazelcast.lifecycle import LifecycleService, LifecycleState, _InternalLifecycleService
16
+ from hazelcast.internal.asyncio_listener import ClusterViewListenerService, ListenerService
17
+ from hazelcast.near_cache import NearCacheManager
18
+ from hazelcast.internal.asyncio_partition import PartitionService, InternalPartitionService
19
+ from hazelcast.protocol.codec import (
20
+ client_add_distributed_object_listener_codec,
21
+ client_get_distributed_objects_codec,
22
+ client_remove_distributed_object_listener_codec,
23
+ dynamic_config_add_vector_collection_config_codec,
24
+ )
25
+ from hazelcast.internal.asyncio_proxy.manager import (
26
+ MAP_SERVICE,
27
+ ProxyManager,
28
+ VECTOR_SERVICE,
29
+ )
30
+ from hazelcast.internal.asyncio_proxy.base import Proxy
31
+ from hazelcast.internal.asyncio_proxy.map import Map
32
+ from hazelcast.internal.asyncio_reactor import AsyncioReactor
33
+ from hazelcast.serialization import SerializationServiceV1
34
+ from hazelcast.internal.asyncio_statistics import Statistics
35
+ from hazelcast.types import KeyType, ValueType
36
+ from hazelcast.util import AtomicInteger, RoundRobinLB
37
+
38
+ __all__ = ("HazelcastClient",)
39
+
40
+ _logger = logging.getLogger(__name__)
41
+
42
+
43
+ class HazelcastClient:
44
+ """Hazelcast client instance to access and manipulate distributed data
45
+ structures on the Hazelcast clusters.
46
+
47
+ The client can be configured either by:
48
+
49
+ - providing a configuration object as the first parameter of the
50
+ constructor
51
+
52
+ .. code:: python
53
+
54
+ from hazelcast.asyncio import HazelcastClient
55
+ from hazelcast.config import Config
56
+
57
+ config = Config()
58
+ config.cluster_name = "a-cluster"
59
+ client = await HazelcastClient.create_and_start(config)
60
+
61
+ - passing configuration options as keyword arguments
62
+
63
+ .. code:: python
64
+
65
+ from hazelcast.asyncio import HazelcastClient
66
+
67
+ client = await HazelcastClient.crate_and_start(
68
+ cluster_name="a-cluster",
69
+ )
70
+
71
+ Warning:
72
+ Asyncio client is not thread-safe, do not access it from other threads.
73
+
74
+ Warning:
75
+ Asyncio client is BETA.
76
+ Its public API may change until General Availability release.
77
+
78
+ See the :class:`hazelcast.config.Config` documentation for the possible
79
+ configuration options.
80
+ """
81
+
82
+ _CLIENT_ID = AtomicInteger()
83
+
84
+ @classmethod
85
+ async def create_and_start(cls, config: Config | None = None, **kwargs) -> "HazelcastClient":
86
+ """Creates a HazelcastClient instance, and starts it.
87
+
88
+ .. code:: python
89
+
90
+ from hazelcast.asyncio import HazelcastClient
91
+
92
+ client = await HazelcastClient.create_and_start()
93
+
94
+ See the :class:`hazelcast.config.Config` documentation for the possible
95
+ configuration options.
96
+
97
+ Args:
98
+ config: Optional configuration object.
99
+ **kwargs: Optional keyword arguments of the client configuration.
100
+
101
+ """
102
+
103
+ client = HazelcastClient(config, **kwargs)
104
+ await client._start()
105
+ return client
106
+
107
+ def __init__(self, config: Config | None = None, **kwargs):
108
+ """Creates a HazelcastClient instance.
109
+
110
+ This call just creates the instance, without starting it.
111
+
112
+ The preferred way of creating and starting the client instance is using the ``create_and_start`` method:
113
+
114
+ .. code:: python
115
+
116
+ from hazelcast.asyncio import HazelcastClient
117
+
118
+ client = await HazelcastClient.create_and_start()
119
+
120
+ See the :class:`hazelcast.config.Config` documentation for the possible
121
+ configuration options.
122
+
123
+ Args:
124
+ config: Optional configuration object.
125
+ **kwargs: Optional keyword arguments of the client configuration.
126
+
127
+ """
128
+
129
+ if config:
130
+ if kwargs:
131
+ raise InvalidConfigurationError(
132
+ "Ambiguous client configuration is found. Either provide "
133
+ "the config object as the only parameter, or do not "
134
+ "pass it and use keyword arguments to configure the "
135
+ "client."
136
+ )
137
+ else:
138
+ config = Config.from_dict(kwargs)
139
+
140
+ self._config = config
141
+ self._context = _ClientContext()
142
+ client_id = HazelcastClient._CLIENT_ID.get_and_increment()
143
+ self._name = self._create_client_name(client_id)
144
+ self._reactor = AsyncioReactor()
145
+ self._serialization_service = SerializationServiceV1(config)
146
+ self._near_cache_manager = NearCacheManager(config, self._serialization_service)
147
+ self._internal_lifecycle_service = _InternalLifecycleService(config)
148
+ self._lifecycle_service = LifecycleService(self._internal_lifecycle_service)
149
+ self._internal_cluster_service = _InternalClusterService(self, config)
150
+ self._cluster_service = ClusterService(self._internal_cluster_service)
151
+ self._invocation_service = InvocationService(self, config, self._reactor)
152
+ self._compact_schema_service = CompactSchemaService(
153
+ self._serialization_service.compact_stream_serializer,
154
+ self._invocation_service,
155
+ self._cluster_service,
156
+ self._reactor,
157
+ self._config,
158
+ )
159
+ self._address_provider = self._create_address_provider()
160
+ self._internal_partition_service = InternalPartitionService(self)
161
+ self._partition_service = PartitionService(
162
+ self._internal_partition_service,
163
+ self._serialization_service,
164
+ self._compact_schema_service.send_schema_and_retry,
165
+ )
166
+ self._connection_manager = ConnectionManager(
167
+ self,
168
+ config,
169
+ self._reactor,
170
+ self._address_provider,
171
+ self._internal_lifecycle_service,
172
+ self._internal_partition_service,
173
+ self._internal_cluster_service,
174
+ self._invocation_service,
175
+ self._near_cache_manager,
176
+ self._send_state_to_cluster,
177
+ )
178
+ self._load_balancer = self._init_load_balancer(config)
179
+ self._listener_service = ListenerService(
180
+ self,
181
+ config,
182
+ self._connection_manager,
183
+ self._invocation_service,
184
+ self._compact_schema_service,
185
+ )
186
+ self._proxy_manager = ProxyManager(self._context)
187
+ self._lock_reference_id_generator = AtomicInteger(1)
188
+ self._statistics = Statistics(
189
+ self,
190
+ config,
191
+ self._reactor,
192
+ self._connection_manager,
193
+ self._invocation_service,
194
+ self._near_cache_manager,
195
+ )
196
+ self._cluster_view_listener = ClusterViewListenerService(
197
+ self,
198
+ self._connection_manager,
199
+ self._internal_partition_service,
200
+ self._internal_cluster_service,
201
+ self._invocation_service,
202
+ )
203
+ self._shutdown_lock = asyncio.Lock()
204
+ self._invocation_service.init(
205
+ self._internal_partition_service,
206
+ self._connection_manager,
207
+ self._listener_service,
208
+ self._compact_schema_service,
209
+ )
210
+ self._init_context()
211
+
212
+ def _init_context(self):
213
+ self._context.init_context(
214
+ self,
215
+ self._config,
216
+ self._invocation_service,
217
+ self._internal_partition_service,
218
+ self._internal_cluster_service,
219
+ self._connection_manager,
220
+ self._serialization_service,
221
+ self._listener_service,
222
+ self._proxy_manager,
223
+ self._near_cache_manager,
224
+ self._lock_reference_id_generator,
225
+ self._name,
226
+ self._reactor,
227
+ self._compact_schema_service,
228
+ )
229
+
230
+ async def _start(self):
231
+ try:
232
+ self._internal_lifecycle_service.start()
233
+ await self._invocation_service.start()
234
+ membership_listeners = self._config.membership_listeners
235
+ self._internal_cluster_service.start(self._connection_manager, membership_listeners)
236
+ self._cluster_view_listener.start()
237
+ await self._connection_manager.start(self._load_balancer)
238
+ sync_start = not self._config.async_start
239
+ if sync_start:
240
+ await self._internal_cluster_service.wait_initial_member_list_fetched()
241
+ await self._connection_manager.connect_to_all_cluster_members(sync_start)
242
+ self._listener_service.start()
243
+ await self._invocation_service.add_backup_listener()
244
+ self._load_balancer.init(self._cluster_service)
245
+ await self._statistics.start()
246
+ except Exception:
247
+ await self.shutdown()
248
+ raise
249
+ _logger.info("Client started")
250
+
251
+ async def get_map(self, name: str) -> Map[KeyType, ValueType]:
252
+ """Returns the distributed map instance with the specified name.
253
+
254
+ Args:
255
+ name: Name of the distributed map.
256
+
257
+ Returns:
258
+ Distributed map instance with the specified name.
259
+ """
260
+ return await self._proxy_manager.get_or_create(MAP_SERVICE, name)
261
+
262
+ async def create_vector_collection_config(
263
+ self,
264
+ name: str,
265
+ indexes: typing.List[IndexConfig],
266
+ backup_count: int = 1,
267
+ async_backup_count: int = 0,
268
+ split_brain_protection_name: typing.Optional[str] = None,
269
+ merge_policy: str = "PutIfAbsentMergePolicy",
270
+ merge_batch_size: int = 100,
271
+ ) -> None:
272
+ """Creates a vector collection with the given configuration.
273
+
274
+ Args:
275
+ name: Name of the distributed map.
276
+ indexes: One or more index configurations. The index names must be unique.
277
+ backup_count: Number of backups to keep for the vector collection.
278
+ split_brain_protection_name: Name of the split brain protection configuration. See https://docs.hazelcast.com/hazelcast/5.6/data-structures/vector-collections#split-brain-protection
279
+ merge_policy: The merge policy to use while recovering in a split brain situation. See https://docs.hazelcast.com/hazelcast/5.6/data-structures/vector-collections#merge-policy
280
+ """
281
+ # check that indexes have different names
282
+ if indexes:
283
+ index_names = set(index.name for index in indexes)
284
+ if len(index_names) != len(indexes):
285
+ raise AssertionError("index names must be unique")
286
+
287
+ request = dynamic_config_add_vector_collection_config_codec.encode_request(
288
+ name,
289
+ indexes,
290
+ backup_count,
291
+ async_backup_count,
292
+ split_brain_protection_name,
293
+ merge_policy,
294
+ merge_batch_size,
295
+ )
296
+ invocation = Invocation(request, response_handler=lambda m: m)
297
+ await self._invocation_service.ainvoke(invocation)
298
+
299
+ async def get_vector_collection(self, name: str) -> VectorCollection:
300
+ """Returns the vector collection instance with the specified name.
301
+
302
+ Args:
303
+ name: Name of the vector collection.
304
+
305
+ Returns:
306
+ Vector collection instance with the specified name.
307
+ """
308
+ return await self._proxy_manager.get_or_create(VECTOR_SERVICE, name)
309
+
310
+ async def add_distributed_object_listener(
311
+ self, listener_func: typing.Callable[[DistributedObjectEvent], None]
312
+ ) -> str:
313
+ """Adds a listener which will be notified when a new distributed object
314
+ is created or destroyed.
315
+
316
+ Args:
317
+ listener_func: Function to be called when a distributed object is
318
+ created or destroyed.
319
+
320
+ Returns:
321
+ A registration id which is used as a key to remove the listener.
322
+ """
323
+ is_smart = self._config.smart_routing
324
+ codec = client_add_distributed_object_listener_codec
325
+ request = codec.encode_request(is_smart)
326
+
327
+ def handle_distributed_object_event(name, service_name, event_type, source):
328
+ event = DistributedObjectEvent(name, service_name, event_type, source)
329
+ listener_func(event)
330
+
331
+ def event_handler(client_message):
332
+ return codec.handle(client_message, handle_distributed_object_event)
333
+
334
+ return await self._listener_service.register_listener(
335
+ request,
336
+ codec.decode_response,
337
+ client_remove_distributed_object_listener_codec.encode_request,
338
+ event_handler,
339
+ )
340
+
341
+ async def remove_distributed_object_listener(self, registration_id: str) -> bool:
342
+ """Removes the specified distributed object listener.
343
+
344
+ Returns silently if there is no such listener added before.
345
+
346
+ Args:
347
+ registration_id: The id of the registered listener.
348
+
349
+ Returns:
350
+ ``True`` if registration is removed, ``False`` otherwise.
351
+ """
352
+ return await self._listener_service.deregister_listener(registration_id)
353
+
354
+ async def shutdown(self) -> None:
355
+ """Shuts down this HazelcastClient."""
356
+ async with self._shutdown_lock:
357
+ if self._internal_lifecycle_service.running:
358
+ self._internal_lifecycle_service.fire_lifecycle_event(LifecycleState.SHUTTING_DOWN)
359
+ self._internal_lifecycle_service.shutdown()
360
+ self._near_cache_manager.destroy_near_caches()
361
+ await self._connection_manager.shutdown()
362
+ self._invocation_service.shutdown()
363
+ self._statistics.shutdown()
364
+ self._internal_lifecycle_service.fire_lifecycle_event(LifecycleState.SHUTDOWN)
365
+
366
+ @property
367
+ def name(self) -> str:
368
+ """Name of the client."""
369
+ return self._name
370
+
371
+ @property
372
+ def lifecycle_service(self) -> LifecycleService:
373
+ """Lifecycle service allows you to check if the client is running and
374
+ add and remove lifecycle listeners.
375
+ """
376
+ return self._lifecycle_service
377
+
378
+ @property
379
+ def partition_service(self) -> PartitionService:
380
+ """Partition service allows you to get partition count, introspect
381
+ the partition owners, and partition ids of keys.
382
+ """
383
+ return self._partition_service
384
+
385
+ @property
386
+ def cluster_service(self) -> ClusterService:
387
+ """ClusterService: Cluster service allows you to get the list of
388
+ the cluster members and add and remove membership listeners.
389
+ """
390
+ return self._cluster_service
391
+
392
+ def _create_address_provider(self):
393
+ config = self._config
394
+ cluster_members = config.cluster_members
395
+ address_list_provided = len(cluster_members) > 0
396
+ cloud_discovery_token = config.cloud_discovery_token
397
+ cloud_enabled = cloud_discovery_token is not None
398
+ if address_list_provided and cloud_enabled:
399
+ raise IllegalStateError(
400
+ "Only one discovery method can be enabled at a time. "
401
+ "Cluster members given explicitly: %s, Hazelcast Cloud enabled: %s"
402
+ % (address_list_provided, cloud_enabled)
403
+ )
404
+
405
+ if cloud_enabled:
406
+ connection_timeout = self._get_connection_timeout(config)
407
+ return HazelcastCloudAddressProvider(cloud_discovery_token, connection_timeout)
408
+
409
+ return DefaultAsyncioAddressProvider(cluster_members)
410
+
411
+ def _create_client_name(self, client_id):
412
+ client_name = self._config.client_name
413
+ if client_name:
414
+ return client_name
415
+ return "hz.client_%s" % client_id
416
+
417
+ async def _send_state_to_cluster(self):
418
+ return await self._compact_schema_service.send_all_schemas()
419
+
420
+ @staticmethod
421
+ def _get_connection_timeout(config):
422
+ timeout = config.connection_timeout
423
+ return sys.maxsize if timeout == 0 else timeout
424
+
425
+ @staticmethod
426
+ def _init_load_balancer(config):
427
+ load_balancer = config.load_balancer
428
+ if not load_balancer:
429
+ load_balancer = RoundRobinLB()
430
+ return load_balancer
431
+
432
+
433
+ class _ClientContext:
434
+ def __init__(self):
435
+ self.client = None
436
+ self.config = None
437
+ self.invocation_service = None
438
+ self.partition_service = None
439
+ self.cluster_service = None
440
+ self.connection_manager = None
441
+ self.serialization_service = None
442
+ self.listener_service = None
443
+ self.proxy_manager = None
444
+ self.near_cache_manager = None
445
+ self.lock_reference_id_generator = None
446
+ self.name = None
447
+ self.reactor = None
448
+ self.compact_schema_service = None
449
+
450
+ def init_context(
451
+ self,
452
+ client,
453
+ config,
454
+ invocation_service,
455
+ partition_service,
456
+ cluster_service,
457
+ connection_manager,
458
+ serialization_service,
459
+ listener_service,
460
+ proxy_manager,
461
+ near_cache_manager,
462
+ lock_reference_id_generator,
463
+ name,
464
+ reactor,
465
+ compact_schema_service,
466
+ ):
467
+ self.client = client
468
+ self.config = config
469
+ self.invocation_service = invocation_service
470
+ self.partition_service = partition_service
471
+ self.cluster_service = cluster_service
472
+ self.connection_manager = connection_manager
473
+ self.serialization_service = serialization_service
474
+ self.listener_service = listener_service
475
+ self.proxy_manager = proxy_manager
476
+ self.near_cache_manager = near_cache_manager
477
+ self.lock_reference_id_generator = lock_reference_id_generator
478
+ self.name = name
479
+ self.reactor = reactor
480
+ self.compact_schema_service = compact_schema_service