session = connection_pool.get_session('root', 'nebula')
result = session.execute('example')
In class Session init, self._timezone_offset = auth_result.get_timezone_offset()
It may expect an integer value, but actually it's None.
so it calls an error:
File "nebula2/data/DataObject.py", line 885, in __repr__
return "utc datetime: %d-%02d-%02dT%02d:%02d:%02d.%06d, timezone_offset: %d" % (
TypeError: %d format: a number is required, not NoneType
example code in README.md:
In class Session init,
self._timezone_offset = auth_result.get_timezone_offset()
It may expect an integer value, but actually it's None. so it calls an error: