Fastapi Return Binary Search Code Example