-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Labels
bugThis addresses a bugThis addresses a bug
Description
Bareos component version
PyPI package: bareos-restapi (latest release at the time of writing)
Steps to reproduce
-
Install the bareos-restapi package from PyPI.
-
Follow the instructions on the PyPI page which show:
uvicorn bareos-restapi:app --reload
- Run the command.
Expected results
The backend server should start successfully.
Actual results
Running the PyPI-documented command:
uvicorn bareos-restapi:app --reload
produces an import error, since Python modules cannot contain dashes in their names.
Environment
- OS: any (tested on Linux and Windows)
- component: bareos-restapi from PyPIRelevant log output
Error loading ASGI app. Could not import module "bareos-restapi".Relevant traces output
Anything else?
The issue is limited to the documentation on the PyPI page for bareos-restapi.
A small update to replace bareos-restapi with bareos_restapi in the example command will resolve this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis addresses a bugThis addresses a bug