def by_education_grading_category_id(self,education_grading_category_id: str) -> EducationGradingCategoryItemRequestBuilder:
        """
        Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity.
        param education_grading_category_id: The unique identifier of educationGradingCategory
        Returns: EducationGradingCategoryItemRequestBuilder
        """
        if education_grading_category_id is None:
            raise TypeError("education_grading_category_id cannot be null.")
        from .item.education_grading_category_item_request_builder import EducationGradingCategoryItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["educationGradingCategory%2Did"] = education_grading_category_id
        return EducationGradingCategoryItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity.
        param education_grading_category_id: The unique identifier of educationGradingCategory
        Returns: EducationGradingCategoryItemRequestBuilder
        
msgraph/generated/education/classes/item/assignment_settings/grading_categories/grading_categories_request_builder.py