Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python - Missing path parameters #3352

Closed
samwelkanda opened this issue Sep 22, 2023 · 0 comments · Fixed by #3353
Closed

Python - Missing path parameters #3352

samwelkanda opened this issue Sep 22, 2023 · 0 comments · Fixed by #3353
Assignees
Labels
Python type:bug A broken experience WIP
Milestone

Comments

@samwelkanda
Copy link
Contributor

samwelkanda commented Sep 22, 2023

API calls like client.reports.get_teams_team_activity_detail_with_date(date=datetime.date(year=2023,month=9,day=22)).get() fail because the value for the date path parameter is not set.

Fix:
Update the constructor for RequestBuilders to add any passed path pameter to the path_parameters dictionary.

@samwelkanda samwelkanda added type:bug A broken experience Python labels Sep 22, 2023
@samwelkanda samwelkanda added this to the Kiota v1.7 milestone Sep 22, 2023
@samwelkanda samwelkanda self-assigned this Sep 22, 2023
@github-project-automation github-project-automation bot moved this to Todo in Kiota Sep 22, 2023
@baywet baywet moved this from Todo to In Progress in Kiota Sep 22, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Kiota Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python type:bug A broken experience WIP
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant