Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom lookup serializer for class error [API-1669] #603

Merged

Conversation

fatihozer0
Copy link
Contributor

@fatihozer0 fatihozer0 commented Dec 29, 2022

closes #591

@fatihozer0 fatihozer0 requested a review from yuce December 29, 2022 13:03
@codecov-commenter
Copy link

codecov-commenter commented Dec 29, 2022

Codecov Report

Merging #603 (8506520) into master (1348e39) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #603      +/-   ##
==========================================
+ Coverage   96.47%   96.50%   +0.02%     
==========================================
  Files         357      357              
  Lines       20510    20632     +122     
==========================================
+ Hits        19787    19910     +123     
+ Misses        723      722       -1     
Impacted Files Coverage Δ
hazelcast/serialization/service.py 93.09% <100.00%> (+0.09%) ⬆️

... and 24 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

nevzatseferoglu and others added 10 commits February 5, 2023 00:06
…azelcast#602)

Bumps [hazelcast](https://github.com/hazelcast/hazelcast) from 5.1 to 5.1.3.
- [Release notes](https://github.com/hazelcast/hazelcast/releases)
- [Commits](hazelcast/hazelcast@v5.1...v5.1.3)

---
updated-dependencies:
- dependency-name: com.hazelcast:hazelcast
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Convert `Config` classes to public API

These were converted into private classes during the 4.0 migration,
as we were only supporting keyword arguments for the client configuration.

However, that led to a poor user experience, as we had to use `**kwargs`,
instead of listing all the configuration elements in the client constructor.
(IDEs become painfully slow once we list all keyword arguments, as there
are too many of them)

The solution to this problem is to make the Config classes public API
and make the client able to use it directly.

```python
config = Config()
config.cluster_name = "dev2"

client = HazelcastClient(config)
```

We provide full type hints for config elements.

* bump the client version used in tests

* address review comments

* shutdown clients in teardown method
…azelcast#604)

Added code sample to show how Hazelcast works with Pandas DataFrames.
@fatihozer0 fatihozer0 requested a review from mdumandag February 8, 2023 08:12
Copy link
Contributor

@mdumandag mdumandag left a comment

Choose a reason for hiding this comment

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

@fatihozer0 can you also take a look at the linter problems?

@mdumandag
Copy link
Contributor

@fatihozer0 after you get the test failure fixed, we are ready to merge this

@mdumandag
Copy link
Contributor

I have committed the latest changes I have asked myself to include this PR and the JIRA task in the 5.2 release, which we will start testing today.

@mdumandag mdumandag merged commit f4fba14 into hazelcast:master Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom serializer lookup is broken [API-1669]
5 participants