Skip to content

List Proxy for Asyncio Client#782

Merged
yuce merged 3 commits intohazelcast:masterfrom
yuce:asyncio-list
Mar 9, 2026
Merged

List Proxy for Asyncio Client#782
yuce merged 3 commits intohazelcast:masterfrom
yuce:asyncio-list

Conversation

@yuce
Copy link
Contributor

@yuce yuce commented Feb 23, 2026

Straightforward port of List to asyncio.

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 88.65979% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.59%. Comparing base (57b5175) to head (cc80366).

Files with missing lines Patch % Lines
hazelcast/internal/asyncio_proxy/list.py 87.70% 22 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master     #782    +/-   ##
========================================
  Coverage   94.58%   94.59%            
========================================
  Files         393      394     +1     
  Lines       25083    25276   +193     
========================================
+ Hits        23726    23910   +184     
- Misses       1357     1366     +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yuce yuce changed the title List proxy List Proxy Feb 23, 2026
@yuce yuce requested a review from ihsandemir February 23, 2026 10:08
@yuce yuce changed the title List Proxy List Proxy for Asyncio Client Feb 24, 2026

def __init__(self, service_name, name, context):
super(PartitionSpecificProxy, self).__init__(service_name, name, context)
partition_key = context.serialization_service.to_data(string_partition_strategy(name))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it hard coded string_partition_strategy? In Java, this is configurable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ported that directly from the asyncore client.
I don't think any client other than Java has that configurable.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, may be we can open a todo issue for this. if different strategy was used in the cluster, probably wrong partition id will be calculated by the client which may cause complicated problems.

@yuce yuce merged commit 26a7467 into hazelcast:master Mar 9, 2026
11 checks passed
@yuce yuce deleted the asyncio-list branch March 9, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants