microsoftgraph / microsoftgraph/msgraph-sdk-python

Example in README has the wrong import for `GraphServiceClient`

オープン 初心者向け
#1,570 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

status:waiting-for-triage type:bug
主要言語
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_

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

READMEを開いてセクション2.3を確認し、記載されているimportとmsgraph.graph_service_clientからの動作するimportを比較します。GraphServiceClientが正しく公開されるように例を更新し、説明されているバージョンのmsgraph SDKを使って、Python REPLで記載されているコマンドを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
90/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。