You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just cloned your repository and tried do run tests locally and they've failed. I've run build on travis and it also failed.
edit:
I found problem here: user_role_table = make_user_role_table(self.__tablename__, self._id_column_name)
calling self._id_column_name returns proxy object instead of column name (which is being found correctly).
I changed that line to user_role_table = make_user_role_table(self.__tablename__, self._id_column_name.fget(self))
and build passes, but I am not sure if that fget() can be here called with self
The text was updated successfully, but these errors were encountered:
d21d3q
changed the title
build fails
Problem with obtaining UserMixin id_column_name
Apr 12, 2017
d21d3q
changed the title
Problem with obtaining UserMixin id_column_name
Problem with creating make_user_role_table
Apr 12, 2017
I've just cloned your repository and tried do run tests locally and they've failed. I've run build on travis and it also failed.
edit:
I found problem here:
user_role_table = make_user_role_table(self.__tablename__, self._id_column_name)
calling
self._id_column_name
returns proxy object instead of column name (which is being found correctly).I changed that line to
user_role_table = make_user_role_table(self.__tablename__, self._id_column_name.fget(self))
and build passes, but I am not sure if that
fget()
can be here called withself
The text was updated successfully, but these errors were encountered: