Python API error
Friday, 19 August 2016 · 1 message
SR
Sayth Renshaw19 Aug 2016 15:30 #
I created an issue on github #1342 it has been closed until mailing list confirms its a bug
On Windows and Fedora with Python 2.7 and 3.5 I cannot import Session from the BaseXClient
Quoted text · 2 lines
>> import BaseXClient >>> from BaseXClient import Session
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name Session
Not sure if there is an obvious thing I am missing I was following the example on github
https://github.com/BaseXdb/basex/blob/master/basex-api/src/main/python/QueryBindExample.py
Is there something super simple missing?
Sayth
Written for BaseX 8.5. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery