Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#926 5 bình luận 0 reaction 2 người được giao Xem trên GitHub

@jesperschlegel đang làm issue này rồi.

Từ ngày 16/10/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Needs: Attention :wave: type:bug
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

Ngôn ngữ chính
Python
Star
630
Fork
96
Merge trung bình
15 giờ 20 phút
Pull request đã merge (30 ngày)
3

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoftgraph/msgraph-sdk-python

Tất cả issue của microsoftgraph/msgraph-sdk-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.