Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ Hazelcast Python Client
.. image:: https://img.shields.io/readthedocs/hazelcast
:target: https://hazelcast.readthedocs.io
:alt: Read the Docs
.. image:: https://img.shields.io/badge/slack-chat-green.svg
:target: https://slack.hazelcast.com
:alt: Join the community on Slack
.. image:: https://img.shields.io/pypi/l/hazelcast-python-client
:target: https://github.com/hazelcast/hazelcast-python-client/blob/master/LICENSE.txt
:alt: License
Expand Down Expand Up @@ -161,7 +158,6 @@ development/usage issues:
- `GitHub
repository <https://github.com/hazelcast/hazelcast-python-client/issues/new>`__
- `Documentation <https://hazelcast.readthedocs.io>`__
- `Slack <https://slack.hazelcast.com>`__

Contributing
------------
Expand Down
1 change: 0 additions & 1 deletion docs/getting_help.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ You can use the following channels for your questions and
development/usage issues:

- `Github Repository <https://github.com/hazelcast/hazelcast-python-client/issues/new>`__
- `Slack <https://slack.hazelcast.com>`__
3 changes: 0 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ Hazelcast Python Client
.. image:: https://img.shields.io/static/v1?label=Github&message=Hazelcast%20Python%20client&style=flat&logo=github
:target: https://github.com/hazelcast/hazelcast-python-client
:alt: Github Repository
.. image:: https://img.shields.io/badge/slack-chat-green.svg
:target: https://slack.hazelcast.com
:alt: Join the community on Slack
.. image:: https://img.shields.io/pypi/l/hazelcast-python-client
:target: https://github.com/hazelcast/hazelcast-python-client/blob/master/LICENSE.txt
:alt: License
Expand Down
13 changes: 13 additions & 0 deletions hazelcast/internal/asyncio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from hazelcast.errors import IllegalStateError, InvalidConfigurationError
from hazelcast.internal.asyncio_invocation import InvocationService, Invocation
from hazelcast.internal.asyncio_proxy.vector_collection import VectorCollection
from hazelcast.internal.asyncio_sql import _InternalSqlService, SqlService
from hazelcast.lifecycle import LifecycleService, LifecycleState, _InternalLifecycleService
from hazelcast.internal.asyncio_listener import ClusterViewListenerService, ListenerService
from hazelcast.near_cache import NearCacheManager
Expand Down Expand Up @@ -188,6 +189,13 @@ def __init__(self, config: Config | None = None, **kwargs):
self._near_cache_manager,
self._send_state_to_cluster,
)
self._internal_sql_service = _InternalSqlService(
self._connection_manager,
self._serialization_service,
self._invocation_service,
self._compact_schema_service.send_schema_and_retry,
)
self._sql_service = SqlService(self._internal_sql_service)
self._load_balancer = self._init_load_balancer(config)
self._listener_service = ListenerService(
self,
Expand Down Expand Up @@ -480,6 +488,11 @@ def cluster_service(self) -> ClusterService:
"""
return self._cluster_service

@property
def sql(self) -> SqlService:
"""Returns a service to execute distributed SQL queries."""
return self._sql_service

def _create_address_provider(self):
config = self._config
cluster_members = config.cluster_members
Expand Down
Loading
Loading