(course_id: int)
| 31 | # get single course |
| 32 | @app.get("/courses/{course_id}") |
| 33 | def get_a_course(course_id: int): |
| 34 | course = course_id - 1 |
| 35 | return fakedb[course] |
| 36 | |
| 37 | |
| 38 | # add a new course |
nothing calls this directly
no outgoing calls
no test coverage detected