Open ericvergnaud opened 4 months ago
It's unclear how to reproduce this issue in lsql. It happens consistently in ucx when (for example) JobProblem
derives from Problem
. It doesn't happen in ucx if Derived
and Base
are in the same file.
This smells like a Python bug (there seems to be many dataclass related Python bugs), we don't have any code that writes reflection data.
There is an easy fix, but waiting for comments.
Say you have the following:
Then
SqlBackend._schema_for
fails because field_type for path is'str'
(type name) rather than<type str>
(type instance)