Files
fn_registry/python/functions/metabase/metabase_get_dashboard.md
T
egutierrez be5a7b582e feat: funciones Python para API Metabase
Añade módulo Python con funciones para la API de Metabase en dominio infra.
Incluye cliente HTTP, auth, y CRUD de cards, dashboards y users.
Proyecto gestionado con uv (pyproject.toml).
2026-03-28 20:32:28 +01:00

863 B

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports tested tests test_file_path file_path
metabase_get_dashboard function py infra 1.0.0 impure def metabase_get_dashboard(client: MetabaseClient, dashboard_id: int) -> dict Obtiene dashboard completo con dashcards (cards posicionadas), tabs y parametros. Endpoint: GET /api/dashboard/:id.
metabase
dashboard
get
api
python
false error_go_core
httpx
false
python/functions/metabase/dashboards.py

Ejemplo

dash = metabase_get_dashboard(client, 1)
for dc in dash["dashcards"]:
    print(f"Card {dc['card_id']} at ({dc['col']}, {dc['row']})")

Notas

Cada dashcard tiene: id, card_id, card, size_x, size_y, col, row, dashboard_tab_id, parameter_mappings.