You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Purpose
ClosesUWOrbital#15.
Inspired by UWOrbital#4 for the frontend improvements.
# New Changes
- Improve PR template
- Improve datetime check test in `test_api.py`
- Fix mismatch in `CommandRequest` on backend and frontend
- Refactor frontend to no longer need to reload the page to display
commands after delete or creation
- Improve error messages in frontend API calls
- Make frontend easier by removing some repetitive steps
- Make `createCommand` endpoint signature consistent with backend
`create_command` signature
- Update Python doc strings to match the main repo's style guide
# Testing
Implemented the GS onboarding frontend and backend on a private branch,
and the frontend worked properly.
# Outstanding Changes
None
Copy file name to clipboardExpand all lines: backend/api/middlewares/logger_middleware.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,9 @@ async def dispatch(
13
13
datetime of request, duration of execution. Logs should be printed using the custom logging module provided.
14
14
Logs should be printed so that they are easily readable and understandable.
15
15
16
-
@param request: Request received to this middleware from client (it is supplied by FastAPI)
17
-
@param call_next: Endpoint or next middleware to be called (if any, this is the next middleware in the chain of middlewares, it is supplied by FastAPI)
18
-
@return Response from endpoint
16
+
:param request: Request received to this middleware from client (it is supplied by FastAPI)
17
+
:param call_next: Endpoint or next middleware to be called (if any, this is the next middleware in the chain of middlewares, it is supplied by FastAPI)
0 commit comments