I just figured out what the issue was. The data object it returns is a System_Headers
object, which is the model for that specific table. As such, that model does not have a System_Value
attribute. By adding naive()
to my peewee code it passed the attribute onto my System_Headers
model, thus allowing me to access the System_Value
field.
Below is the working code:
sHeader_Value = (System_Headers
.select(System_Headers.SystemHeader_Name, System_Data.System_Value)
.join(System_Header_Link)
.join(System_Data_Link)
.join(System_Data)
.naive())