microsoftgraph / microsoftgraph/msgraph-beta-sdk-python
No module named 'msgraph_beta.generated.models.submission_category'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44
- Forks
- 16
- Avg merge
- 20h 39m
- Merged PRs (30d)
- 3
Description
Describe the bug
When following this article:
https://learn.microsoft.com/en-us/graph/api/security-emailthreatsubmission-post-emailthreats?view=graph-rest-beta&tabs=python
I receive an import error for:
from msgraph_beta.generated.models.submission_category import SubmissionCategory
The error:
No module named 'msgraph_beta.generated.models.submission_category'
Using version msgraph_beta_sdk-1.14.0
Expected behavior
the module to load
How to reproduce
run the following in python:
from msgraph_beta.generated.models.submission_category import SubmissionCategory
SDK Version
1.14.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
Ubuntu 22.04.5 LTS, x64
### Other information
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the import from msgraph_beta.generated.models.submission_category with msgraph_beta_sdk 1.14.0 on Ubuntu 22.04.5. Compare the generated models available in the installed package with the Microsoft Graph beta email-threat-submission article. Done means the documented Python import loads successfully, or the issue is updated with the correct supported import.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100