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
So currently the code doesn't do any casting, other than if something is a list. Note that you can't write a bool to keycloak either, you need to write strings.
I guess the code could do conversions internally, which would be a feature request.
I'm fine with kicking this to the responsibility of the client since this isn't a bug. I'm not sure if this would affect anything outside of the mou dash.
There looks to be a missing out-cast from the database on boolean fields. For example, this is from
institutions.list_insts_flat
:I saw this issue when writing a
filter_func
and got"false"
results forfilter_func=lambda _, attrs: attrs.get('has_mou', False)
.The text was updated successfully, but these errors were encountered: