We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sorry, if the issue like this was opened before, I've searched but not found it.
Is it possible to make a HazelcastClient conext manager aware, see https://peps.python.org/pep-0343/
HazelcastClient
In short:
To be able instead of:
client = hazelcast.HazelcastClient(...) # operations client.shutdown()
make calls like this:
with hazelcast.HazelcastClient(...) as client: # operatoins... # no need to call client.shutdown() - it will be called by context manager
May be there are some other classes that could be also made context manager aware.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sorry, if the issue like this was opened before, I've searched but not found it.
Is it possible to make a
HazelcastClient
conext manager aware, see https://peps.python.org/pep-0343/In short:
To be able instead of:
make calls like this:
May be there are some other classes that could be also made context manager aware.
Thanks!
The text was updated successfully, but these errors were encountered: