microsoftgraph / microsoftgraph/msgraph-beta-sdk-python

No module named 'msgraph_beta.generated.models.submission_category'

未關閉
#690 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

area:documentation type:bug
主要語言
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_

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。