DataJunction / dj

A metrics platform.
http://datajunction.io
MIT License
35 stars 15 forks source link

Python client not hydrating items as dataclasses #1220

Open shangyian opened 2 weeks ago

shangyian commented 2 weeks ago

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.