Anyone run into this error before? ```Engine trac...
# development
w
Anyone run into this error before?
Copy code
Engine traceback:
  in `fix` goal

TypeError: unhashable type: 'Sqlfluff'
f
That type is probably a part of a dataclass being used by the engine somewhere, and given Pants source generally wants hashable dataclasses, all types in the dataclass will need to be hashable.
there is a "sql fluff" backend in Pants apparently so maybe start there?
w
Yeah, I'm call-by-naming it - but visually, I can't see anything wrong with it
Just seems to be a PythonToolBase
Hmm, might be a red herring - the error might be coming from upstream
There we go - it was a spurious
@rule
- but I have no idea how it ever ran 🤷 The call-by-name shouldn't have discovered new problems