microsoftgraph / microsoftgraph/msgraph-sdk-python
Create TableRow API reference example raises TypeError "unexpected keyword argument 'values'"
Aperta
@jesperschlegel ci sta già lavorando.
Dal 16/10/2024.
Needs: Attention :wave:
type:bug
- Lingua principale
- Python
- Stelle
- 630
- Fork
- 96
- Merge medio
- 15h 20m
- PR unite (30g)
- 3
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.