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
The Scout agent breaks when it tries to instrument raw queries in Django that use psycopg2's SQL string composition. Specifically, we get a TypeError: unhashable type: 'Composed' on this line of code:
I created a workaround that converts the query to a raw string before executing it, however it involves getting a cursor and compiling the string before doing the actual query. That's more overhead than I would prefer, so it would be really nice if Scout were able to support Composed as well.
The text was updated successfully, but these errors were encountered:
Thanks for responding @tim-schilling, and sorry for the delay. Because of sickness, etc., I haven't had time to do this yet, but I'll get you an example soon.
The Scout agent breaks when it tries to instrument raw queries in Django that use psycopg2's SQL string composition. Specifically, we get a
TypeError: unhashable type: 'Composed'
on this line of code:scout_apm_python/src/scout_apm/core/n_plus_one_tracker.py
Line 29 in 86d1492
I created a workaround that converts the query to a raw string before executing it, however it involves getting a cursor and compiling the string before doing the actual query. That's more overhead than I would prefer, so it would be really nice if Scout were able to support
Composed
as well.The text was updated successfully, but these errors were encountered: