Roles folder is not installed
julyvee opened this issue · comments
Describe the bug
I installed the aad_fastapi package with pip, as mentioned and added it to my api as described in the Readme. But when I try to run the api, I get an error saying that the .roles module cannot be found.
ModuleNotFoundError: No module named 'aad_fastapi.roles'
I investigated further and I can see that the roles folder was not downloaded when I installed the package.
To Reproduce
Steps to reproduce the behavior:
- Install the package locally with pip
- Add authentication to API as described in Readme
- Try to run API with the launch.json example
Expected behavior
API runs and doesn't throw an error
Additional context
Running in ubuntu devcontainer
Hey @julyvee, please make sure to install the latest version of aad-fastapi,
I've tested it on my machine, from scratch on a python 3.7 venv, and aad-fastapi exists with roles modules
Yes it works now in the newest version 1.1.2, the roles folder is installed correctly. Thanks!