HF RL Explorer

Using starlette 's routing and schema primitives, implement a RouteInspector class in task module.py that…

Using starlette 's routing and schema primitives, implement a RouteInspector class in task module.py that…: a task in repo2rlenv-code-instruct (Harbor dataset). Examples: python routes = Route("/users/{id:int}", endpoint=lambda r: None, methods= "GET", "POST" ) collect route paths(routes) →…

The task

**Examples:** ```python routes = [Route("/users/{id:int}", endpoint=lambda r: None, methods=["GET", "POST"])] collect_route_paths(routes) # → ["/users/{id}"] build_method_map(routes) # → {"/users/{id}": ["get", "post"]} ```

Part of FineEnvs/repo2rlenv-code-instruct.