I try to execute essentially some sql like this (which gets builded in a complicated way):
sql = "SELECT COUNT(*) FROM entities WHERE (unit = '%')"
with this Python code:
engine.execute(sql)
What happens then is I get a
TypeError: 'dict' object does not support indexing
Why is this the case?