Add replay command for continuously uploading G-events
This allows the low-latency group to generate mock events for the O3 Replay MDC in relevant tiers for better testing of the low-latency alert infrastructure.
Example:
➜ meg replay 1262304000 1265760000 --source production --target test --group Test
2024-03-08 08:21:16 INFO Next superevent to replay is S200109u at time 1262622991.4, waiting 896.6s...
2024-03-08 08:36:13 INFO Downloading S200109u from GraceDB (production)...
2024-03-08 08:36:15 INFO Downloading G359759...
2024-03-08 08:36:16 INFO Downloading G359758...
2024-03-08 08:36:17 INFO Next superevent to replay is S200109v at time 1262624757.2, waiting 1762.0s...
2024-03-08 08:36:17 INFO The uploads to GraceDB will take 205.00s, like the original schedule.
2024-03-08 08:36:18 INFO Created G359758 -> T656154 pycbc CBC -> Test AllSky -> MDC 1393950957.507166
...
Also suppress mypy errors in existing responses (is well understood and was originally covered by attr-defined) for the pre-commit stage to not emit a warning.
Edited by Patrick Godwin