Web server isn't running
The current implementation to run the web server could work for some people, but it has some issues that avoid launching it:
- The dccServer.py imports defines a single try-except that can fail at multiple places. All of these errors will just complain with the messages "Fast-API is not installed" (when this is not always the case). The try-except block should be minimized to the lines that require so (with their correct fail message).
- The local import is not consistent and can be a cause of error. This should be updated to an absolute import
pkg_name.module. - It seems that to run it, it is required to locally call the
dccServerfile with uvicorn. Instead, a new script can be created that usesuvicorn.run(). Then, a single CLI command (that is installed with the package) can be linked to this script. All other errors can also be moved in here.