mini_project_1.search_requests module

Search for a ride request

The member should be able to see all his/her ride requests. Also the member should be able to provide a location code or a city and see a listing of all requests with a pickup location matching the location code or the city entered. If there are more than 5 matches, at most 5 matches will be shown at a time. The member should be able to select a request and message the posting member, for example asking the member to check out a ride.

mini_project_1.search_requests.get_search_requests_city_parser()[source]

Argparser for the shell.MiniProjectShell search_requests_city command

Return type:ShellArgumentParser
mini_project_1.search_requests.get_search_requests_lcode_parser()[source]

Argparser for the shell.MiniProjectShell search_requests_lcode command

Return type:ShellArgumentParser
mini_project_1.search_requests.print_5_and_prompt(rows)[source]

Print out 5 rows and if more rows exist prompt the user if they want more. If the user enters all print the remaining rows.