

def invoke_smart(self, invocation, ignore_heartbeat=False):
    if invocation.has_connection():
        ignore_heartbeat._send(invocation, invocation.connection, ignore_heartbeat)
    elif invocation.has_partition_id():
        addr = self._client.partition_service.get_partition_owner(invocation.partition_id)
        self._send_to_address(invocation, addr)
    elif invocation.has_address():
        self._send_to_address(invocation, invocation.address)
    else:
        addr = self._client.load_balancer.next_address()
        self._send_to_address(invocation, addr)
    return invocation.future

dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/invocation.py InvocationService.invoke_smart/VarMisuse@25/35 `self`->`ignore_heartbeat`