A syntax error is generated when a column named "class"
is accessed using the SQLObject class interface in
The class AltJEDic contains a column named "CLASS" that
should be mapped to the python object AltJEDic.class
fromDatabase = True
#idName = "sqlid"
table = "ALTJEDIC0111"
style = HinokiStyle()
However, when I try to use AltJEDic.class in a function
call, it fails with the following error:
# python verify-wordnet.py
File "verify-wordnet.py", line 190
SyntaxError: invalid syntax
It seems that this is interfering with Python keywords.
Do we need to add a restriction on column (or SQLObject
class member names) or can this be worked around?
Log in to post a comment.