def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuilder:
        """
        Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity.
        param planner_task_id: The unique identifier of plannerTask
        Returns: PlannerTaskItemRequestBuilder
        """
        if planner_task_id is None:
            raise TypeError("planner_task_id cannot be null.")
        from .item.planner_task_item_request_builder import PlannerTaskItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["plannerTask%2Did"] = planner_task_id
        return PlannerTaskItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity.
        param planner_task_id: The unique identifier of plannerTask
        Returns: PlannerTaskItemRequestBuilder
        
msgraph/generated/planner/buckets/item/tasks/tasks_request_builder.py