Replies: 1 comment
-
There was a bug where we listed two Python JSONPath modules as a dependency, this is being fixed in #478. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to connect to REST API with shillelagh genericjsonapi adapter and i get this error:
This in my conf:
SQLALCHEMY URI: shillelagh+safe://
ENGINE PARAMETERS:
{"connect_args":{"adapters":["genericjsonapi"],"adapter_kwargs":{"genericjsonapi":{"request_headers":{"authorization":"XXXXXXX"}}}}}
My query is:
SELECT * FROM "http://restapiurl:8081/RestAPI/services/articulos2#$.articulo[*]"
And service response is OK and servers a JSON like this:
{
"articulo": [
{
"codigo": "01023",
"descripcion": "GALLO 450 gr. MARAVILLA (C18)",
"descripcion_art": "GALLO 450 gr. MARAVILLA (C18)",
"familia_nivel1": "01",
"familia": "0102",
"proveedor": 2069,
"nombre_proveedor": " GALLO SAU",
"ref_proveedor": "100202",
"unid_por_envase": 18.0,
"peso_por_caja_gr": 9.414,
"peso_unitario_gr": 0.523,
"precio1": 0.999,
"minima_venta": 18.0,
"minima_frac_venta": 18.0,
"observaciones1": "Palé 9*8",
"blo_ven": 0,
"imagenruta": "",
"imagen": "",
"setPrecioConsultaDoble": "0.999",
"grupos_dtos_venta": 2,
"claseMaterial": "U",
"stock": 108.0,
}
]
}
Any suggestions?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions