mini_project_1.post_request module¶
Post a ride request
Post ride requests. The member should be able to post a ride request by providing a date, a pick up location code, a drop off location code, and the amount willing to pay per seat. The request rid is set by your system to a unique number and the email is set to the email address of the member.
-
mini_project_1.post_request.date(date_str)[source]¶ Argparser type validation function for validating a date for use in
post_ride_requestcommandReturn type: DateTime
-
mini_project_1.post_request.get_post_request_parser()[source]¶ Argparser for the
shell.MiniProjectShellpost_requestcommandReturn type: ShellArgumentParser