microsoftgraph / microsoftgraph/msgraph-beta-sdk-python
No module named 'msgraph_beta.generated.models.submission_category'
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 44
- 分支
- 16
- 平均合併
- 20 小時 39 分鐘
- 30 天內合併 PR
- 3
描述
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_
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在 Ubuntu 22.04.5 上使用 msgraph_beta_sdk 1.14.0 重現從 msgraph_beta.generated.models.submission_category 的匯入。將已安裝套件中可用的產生模型與 Microsoft Graph beta email-threat-submission 文章進行比較。文件中的 Python 匯入能夠成功載入,或 issue 使用正確的受支援匯入進行更新,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- api
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100