Hey @lucw sorry for not getting this in yet it somewhere buried in my todo list. I hope to get some sort of “python formula field” prototype plugin built soon which would also need this change so hopefully then some sort of nicer plugin API for writing a FieldType that runs python would result from that.