

def make_throttle_snapshot(system_status, services):
    snapshots = []
    for (service, (status, limit)) in services.items():
        snapshots.append(ServiceSnapshot(service, status, limit))
    return ThrottleSnapshot(snapshots, snapshots)

dataset/ETHPy150Open 55minutes/python-epo-ops-client/tests/middlewares/throttle/conftest.py make_throttle_snapshot/VarMisuse@54/63 `system_status`->`snapshots`