Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
python-0.3.4
-
None
-
Python thin client: Fixed issue that was causing boolean values to be returned as integers on cache get.
-
Release Notes Required
Description
Steps:
- put boolean value in cluster
from pyignite import Client from pyignite.datatypes import * client = Client() client.connect('127.0.0.1', 10800) cache = client.get_or_create_cache("test") cache.put(1, [True, False], key_hint=IntObject, value_hint=BoolArrayObject)
- get value
from pyignite import Client from pyignite.datatypes import * client = Client() client.connect('127.0.0.1', 10800) cache = client.get_or_create_cache("test") result = cache.get(1, key_hint=IntObject) print(*[str(arr_item).lower() for arr_item in result])
Actual:
- return integers
0 1
Attachments
Issue Links
- links to