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
Using python 3.7.0,
On the last version of flask_ldapconn (0.10.0)
when you try to serialize as json an object created from a ldap Model, throws this exception:
TypeError: Object of type LDAPAttribute is not JSON serializable
In flask_ldapconn 0.7.0 this didn't happen and works perfectli. what changed on these versions?
Using python 3.7.0,
On the last version of flask_ldapconn (0.10.0)
when you try to serialize as json an object created from a ldap Model, throws this exception:
TypeError: Object of type LDAPAttribute is not JSON serializable
In flask_ldapconn 0.7.0 this didn't happen and works perfectli. what changed on these versions?
this is the model:
class User(LDAPEntry):
In 0.7.0 you can call toJson and works perfectly!
but with 0.10.0 it completely fails.
how to fix that?
For the configuration, I used the default values.
Thanks!
The text was updated successfully, but these errors were encountered: