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 摘要。