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'm having some problems running sqltap (version 0.3.10) when there is a JSONB field in one of the models.
It doesn't seem to handle dictionaries very well in general..
Is it a known issue? (could not find it reported)
cls = <class 'sqltap.sqltap.QueryStats'>
params = {'allow_supplier_project_creation': False, 'contribution_edit_reacceptance': True, 'contribution_time_enabled': True, 'created_at': datetime.datetime(2017, 8, 4, 12, 38, 46, 131500), ...}
@classmethod
def calculate_params_hash(cls, params):
h = 0
for k in sorted(params.keys()):
> h ^= 10009 * hash(params[k])
E TypeError: unhashable type: 'dict'
The text was updated successfully, but these errors were encountered:
After I created this issue I noticed that it was already fixed in master actually (and with the new version), but the new version is not released on pypi.
Any plans to release that at some point?
I'm having some problems running sqltap (version 0.3.10) when there is a
JSONB
field in one of the models.It doesn't seem to handle dictionaries very well in general..
Is it a known issue? (could not find it reported)
The text was updated successfully, but these errors were encountered: