In the file server.py some functions use classes as function arguments, and that's good for readability but not for the performance.
The functions (add_item and update_item) use classes just for passing three values, and it shouldn't be a problem to pass them directly to the function.
In the file
server.py
some functions use classes as function arguments, and that's good for readability but not for the performance.The functions (add_item and update_item) use classes just for passing three values, and it shouldn't be a problem to pass them directly to the function.