Open bessarabov opened 4 months ago
The current code example produces error:
root@d1716cafa3fb:/app# cat script.py import aerospike import pprint digest = aerospike.calc_digest("test", "demo", 1 ) pp.pprint(digest) root@d1716cafa3fb:/app# python script.py Traceback (most recent call last): File "/app/script.py", line 5, in <module> pp.pprint(digest) ^^ NameError: name 'pp' is not defined root@d1716cafa3fb:/app#
With this fix it works:
root@d1716cafa3fb:/app# cat script.py import aerospike import pprint as pp digest = aerospike.calc_digest("test", "demo", 1 ) pp.pprint(digest) root@d1716cafa3fb:/app# python script.py bytearray(b'\xb7\xf4\xb88\x89\xe2\xdag\xdeh>\x1d\xf6\x91\x9a\x1e\xac\xc4F\xc8') root@d1716cafa3fb:/app#
The current code example produces error:
With this fix it works: