microsoftgraph / microsoftgraph/msgraph-sdk-python

Create TableRow API reference example raises TypeError "unexpected keyword argument 'values'"

オープン
#926 コメント 5 件 リアクション 0 件 担当者 2 名 GitHub で見る

@jesperschlegel がすでに取り組んでいます。

2024年10月16日 から。

Needs: Attention :wave: type:bug
主要言語
Python
スター
630
フォーク
96
平均マージ
15時間 20分
マージ済み PR(30日)
3

説明

Describe the bug

Initializing a WorkbookTableRow as described in the API reference results in a TypeError.

Expected behavior

Correct initialization of a WorkbookTableRow in order to append a row to a workbook table.

How to reproduce
# from https://learn.microsoft.com/en-us/graph/api/table-post-rows?view=graph-rest-1.0&tabs=python
from msgraph.generated.models.workbook_table_row import WorkbookTableRow

request_body = WorkbookTableRow(
	values = [
		[
			1,
			2,
			3,
		],
		[
			4,
			5,
			6,
		],
	],
)
SDK Version

1.10.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output
Traceback (most recent call last):
  File "example.py", line 3, in <module>
    request_body = WorkbookTableRow(
TypeError: WorkbookTableRow.__init__() got an unexpected keyword argument 'values'
Configuration

No response

Other information

No response

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

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

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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