Beau Barker
Beau Barker
Since we're removing OSlash, the required Python version may be lower than 3.8.
The `serve` function should only be used for testing. To make that clear, add a message such as: > WARNING: This is a development server. Do not use it in...
- Define types outside of the functions - Use typeddict
The server only shuts down when exiting with ctrl-c (keyboard interrupt). Add a try block to always shut down the server when exiting other ways. e.g sys.exit
- Define types outside of the functions - Use typeddict
There should be no need to return a “Success” result from methods. This can be handled in the @method decorator implementation.