Benchanything's picture
Add 300 CheckerBench tasks, dataset card, and restoration tools (part 3)
8247f19 verified
|
Raw History Blame Contribute Delete
494 Bytes

Patch-overlapping Python context after the fix

src/fides/api/service/privacy_request/request_runner_service.py — function:generate_id_verification_code (lines 626-630)

def generate_id_verification_code() -> str:
    """
    Generate one-time identity verification code
    """
    return str(secrets.choice(range(100000, 999999)))

src/fides/api/service/privacy_request/request_runner_service.py — module:<module>@1 (lines 1-1)

import secrets