be5a7b582e
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).
784 B
784 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_delete_card | function | py | infra | 1.0.0 | impure | def metabase_delete_card(client: MetabaseClient, card_id: int) -> None | Elimina permanentemente una card/pregunta. IRREVERSIBLE. Preferir archived=True. Endpoint: DELETE /api/card/:id. |
|
false | error_go_core |
|
false | python/functions/metabase/cards.py |
Ejemplo
metabase_delete_card(client, 42)
# Preferir: metabase_update_card(client, 42, archived=True)
Notas
IRREVERSIBLE. Preferir soft-delete con metabase_update_card(archived=True).