Error using 'genericjsonapi' in Superset #27419
Unanswered
sh4m3
asked this question in
Q&A / Help
Replies: 3 comments
-
I am running into the same Problem. Did you ever fix it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think some dependencies are missing for the adapter. try pip install "shillelagh[all]" or pip install apache-superset[genericjsonapi] |
Beta Was this translation helpful? Give feedback.
0 replies
-
This might be related. |
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 "https://restapiurl/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