dschep / dschep/rdsdataapi

Properly implement types

Abierto
#1 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
2
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The types are not correctly implemented at all. string/varchar is just enough to pass the dbapi2 compliance test for `cursor.description`

make copies of that test that check all DB types & all dbapi2 types.

#### Resouces:
* types in this src:https://github.com/dschep/rdsdataapi/blob/99aa7bf70407a65c2eb5bdbe6088e20c2c7536b5/rdsdataapi.py#L295-L299
* types in dbapi2 docs:https://www.python.org/dev/peps/pep-0249/#type-objects-and-constructors
* `cursor.description` test in dbapi2 compliance lib: https://github.com/baztian/dbapi-compliance/blob/c259a6ab3a90db89b40936a9a36745a0a6383d5e/dbapi20.py#L245-L276

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.