Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__path__ attribute not found on 'msgraph.generated.models.security' #55

Closed
Wwwolfgang opened this issue Jan 6, 2023 · 2 comments · Fixed by microsoft/kiota#2189 or #73
Closed
Assignees
Labels
bug Something isn't working

Comments

@Wwwolfgang
Copy link

I'm trying to use this sdk in a Django/Wagtail project.
Version: I installed the current version wich is 1.0.0a4 I believe.

It gets imported fast but if I import
from msgraph import GraphRequestAdapter, GraphServiceClient

I always get this error:
__path__ attribute not found on 'msgraph.generated.models.security' while trying to find 'msgraph.generated.models.security.cases_root'

I tried using an older version like 1.0.0a3 but than the import is very slow. Loading a project takes multiple minutes.
Any idea what is happening?

@samwelkanda samwelkanda self-assigned this Jan 9, 2023
@samwelkanda samwelkanda added the bug Something isn't working label Jan 9, 2023
@Wwwolfgang
Copy link
Author

I saw on pypi that there is a new version from this library, version 1.0.0a7 to be specific. So I tried it in my project, but the problem and error message still remains.

@samwelkanda
Copy link
Contributor

samwelkanda commented Jan 26, 2023

Hi @Wwwolfgang

Thanks for trying out our library. I was able to repro the above issue on Django and it has now been fixed. Kindly install the latest version of our SDK to get the latest changes.

Feel free to re-open this issue if the problem persists.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants