This is an solution to the MagicList question. run the file "test_simplified_list.py" to see it work. Please see the screenshot for the output of the test
JWT login - not implemented
One liner conversion - not implemented
What is implemented is the core functionality of the question. Run the file "server.py" and browse to http://127.0.0.1:8010/docs#/ to run the test.
In the screenshot I used the input provided in the question. You can see the output resulting from that input.
Due to lack of time - I hope to get back to this tomorrow, the code is missing aduquate:
Docstrings
Comments
Logs