For example, the expected type of type(col) here should be Column:
source_node = dj.source("source.node")
[type(col) for col in source_node.columns]
However, it is currently a Dict. This means that we're initializing a Source object with columns of type Dict rather than Column, causing downstream issues for anyone using the client and expecting a particular type.
For example, the expected type of
type(col)
here should beColumn
:However, it is currently a
Dict
. This means that we're initializing aSource
object withcolumns
of typeDict
rather thanColumn
, causing downstream issues for anyone using the client and expecting a particular type.