Closed Murder-Chicken closed 1 year ago
have you tried by_planner_plan_id
, 'cause there is a lot of mistyping in docs - https://github.com/microsoftgraph/msgraph-sdk-python/blob/9300f9911874471a6bbebfdde9ae974affebd7fa/msgraph/generated/planner/plans/plans_request_builder.py#L32
Yup, that did it! Definitely should just check the code myself next time...
Regardless, thanks for the pointer!
As per the documentation provided on the MS Graph SDK Resource page, users are instructed to use the following method to retrieve a list of plannerTask objects associated with a plannerPlan object.
result = await graph_client.planner.plans.by_plan_id('plannerPlan-id').tasks.get()
However, upon issuing the request, I recieve the following error:
AttributeError: 'PlansRequestBuilder' object has no attribute 'by_plan_id'
I have the following delegated permissions assigned to be able to perform the request as well: Tasks.Read, Tasks.Read.Shared, Tasks.ReadWrite, Tasks.ReadWrite.Shared, User.Read.
Is the feature still a work in progress for the Python SDK or is there something I am missing?
I'd appreciate any help on the matter.