I had a column name named class. This generated a python dataclass that did not escape the reserved word. Not sure if the solution is to
* not name things "class" (my workaround)
* quote class in the dataclass (like type hinting can do in python)
* warn user and reject reserved words as column names/dataclass field names
(I have seen this in mysql with type as column name too.)