pacificclimate / modelmeta

An ORM representation of the model metadata database
GNU General Public License v3.0
1 stars 0 forks source link

Define psycopg2 adapters for numpy types #24

Closed rod-glover closed 7 years ago

rod-glover commented 7 years ago

This first manifested as a failure in a Boolean type (compounded by an error in the expression for that boolean), but it turns out that psycopg2 does not know how to convert any numpy types to SQL expressions, and we have to define adapters for that. Turns out to be easy.

Resolves #23