async def get(self,request_configuration: Optional[RequestConfiguration[PlannerBucketItemRequestBuilderGetQueryParameters]] = None) -> Optional[PlannerBucket]:
        """
        Read-only. Nullable. Collection of buckets in the plan.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[PlannerBucket]
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from ........models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from ........models.planner_bucket import PlannerBucket

        return await self.request_adapter.send_async(request_info, PlannerBucket, error_mapping)

        Read-only. Nullable. Collection of buckets in the plan.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[PlannerBucket]
        
msgraph/generated/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py