microsoftgraph / microsoftgraph/msgraph-sdk-python

Example 8 from examples doesn't work

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

還沒有人認領這個 Issue。

主要語言
Python
星號
630
分支
96
平均合併
15 小時 20 分鐘
30 天內合併 PR
3

描述

Example 8 from the SDK does not work for me (direct copy paste). I get a ModuleNotFoundError: No module named 'msgraph.generated.send_mail' error.

I installed on python 3.10.9 with pip install msgraph-sdk without errors.pi

msgraph-core                         1.0.0a4
msgraph-sdk                          1.0.0a16

Full disclosure: I tried running ; pip install --upgrade 'msgraph-sdk @ git+https://github.com/microsoftgraph/msgraph-sdk-python.git'
to ensure I have the latest version but this gives me a load of filename too long errors

image

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從 docs/general_samples.md 和 Example 8 開始,接著使用 Python 3.10.9 和列出的 msgraph-sdk 版本重現複製貼上範例。檢查為什麼無法匯入 msgraph.generated.send_mail;完成文件所述的安裝後,文件中的範例能夠在沒有 ModuleNotFoundError 的情況下執行,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api, documentation
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

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

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