microsoftgraph / microsoftgraph/msgraph-sdk-python
Example in README has the wrong import for `GraphServiceClient`
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 630
- フォーク
- 96
- 平均マージ
- 15時間 20分
- マージ済み PR(30日)
- 3
説明
Describe the bug
In section 2.3, the README has
from msgraph import GraphServiceClient
whereas
from msgraph.graph_service_client import GraphServiceClient
seems to work
Expected behavior
Please clarify or fix README
How to reproduce
install msgraph sdk
In a python repl
import msgraph
dir(msgraph) # this will show no GraphServiceClient
dir(msgraph.graph_service_client) will show GraphServiceClient
SDK Version
1.61.0
Latest version known to work for scenario above?
No response
Known Workarounds
use from msgraph.graph_service_client import GraphServiceClient
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
READMEを開いてセクション2.3を確認し、記載されているimportとmsgraph.graph_service_clientからの動作するimportを比較します。GraphServiceClientが正しく公開されるように例を更新し、説明されているバージョンのmsgraph SDKを使って、Python REPLで記載されているコマンドを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 活発
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 90/100