This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """Backfill histórico gsc_data_pages para todos los clientes activos. | |
| D49.2.1 — ejecutar UNA vez tras desplegar el código (idempotente: puede | |
| re-ejecutarse si se interrumpe; DELETE+INSERT por ventana). | |
| Uso (desde dentro del container): | |
| python scripts/backfill_gsc_pages.py [--dry-run] [--client <slug>] | |
| --dry-run Imprime plan por cliente sin llamar al API GSC. |