Hi, In pyignite, Client extends Connection class, which has __repr__ implementation, while in pygridgain Client doesn't extends Connection class. In both cases Client doesn't have it's own representation.
Evgenii сб, 21 мар. 2020 г. в 08:47, Dren Butković <[email protected]>: > Hi, > I tested two Python Thin client modules and they do not give the same > connection info. > > Python code and exaples: > > from pyignite import Client > nodes = [('192.168.50.106', 10800)] > ignite_client = Client(username='ignite', password='ignite', use_ssl=False) > ignite_client.connect(nodes) > print('Connected to {}'.format(ignite_client)) > ignite_client.close() > > Connected to 192.168.50.106:10800 > > ##################################################################### > > from pygridgain import Client > nodes = [('192.168.50.106', 10800)] > ignite_client = Client(username='ignite', password='ignite', use_ssl=False) > ignite_client.connect(nodes) > print('Connected to {}'.format(ignite_client)) > ignite_client.close() > > Connected to <pygridgain.client.Client object at 0x7f0d2cf3a630> > > >
