error[invalid-row-type]: `datetime` is imported only under `TYPE_CHECKING` (field "when" of `Dated`)
  --> queries.py:71:7
   |
71 | query[Dated](t"select 1")
   |       ^^^^^
   |
   = note: field defined at <root>/queries.py:25:5
   = help: import `datetime` at runtime

error[invalid-row-type]: `datetime` is imported only under `TYPE_CHECKING` (field "when" of `Aliased`)
  --> queries.py:72:7
   |
72 | query[Aliased](t"select 1")
   |       ^^^^^^^
   |
   = note: alias defined at <root>/queries.py:28:1
   = note: field defined at <root>/queries.py:32:5
   = help: import `datetime` at runtime

error[unresolved-row-type]: `thirdparty.Model` is defined outside the project
  --> queries.py:73:7
   |
73 | query[Model](t"select 1")
   |       ^^^^^
   |
   = help: define the row type inside the project

error[invalid-row-type]: the decorator `deco` on `Decorated` is unknown, so its effect on the constructor is not checked
  --> queries.py:74:7
   |
74 | query[Decorated](t"select 1")
   |       ^^^^^^^^^
   |
   = help: remove the decorator, or use `@dataclass`

error[invalid-row-type]: `Custom` defines `__init__`, so its effect on the constructor is not checked
  --> queries.py:75:7
   |
75 | query[Custom](t"select 1")
   |       ^^^^^^
   |
   = help: remove `__init__` and use `__post_init__`

error[invalid-row-type]: the metaclass of `Meta2` is unknown, so its effect on the constructor is not checked
  --> queries.py:76:7
   |
76 | query[Meta2](t"select 1")
   |       ^^^^^
   |
   = help: remove the metaclass or class keyword

error[invalid-row-type]: the class keyword `flag` of `Keyword` is unknown, so its effect on the constructor is not checked
  --> queries.py:77:7
   |
77 | query[Keyword](t"select 1")
   |       ^^^^^^^
   |
   = help: remove the metaclass or class keyword

error[invalid-row-type]: `abc.ABC` isn't a supported row type
  --> queries.py:78:7
   |
78 | query[Abstract](t"select 1")
   |       ^^^^^^^^
   |
   = help: inherit only from project classes and the row-type base

error[invalid-row-type]: a field declared inside a conditional block can't be checked
  --> queries.py:79:7
   |
79 | query[Conditional](t"select 1")
   |       ^^^^^^^^^^^
