def by_approval_stage_id(self,approval_stage_id: str) -> ApprovalStageItemRequestBuilder:
        """
        Provides operations to manage the stages property of the microsoft.graph.approval entity.
        param approval_stage_id: The unique identifier of approvalStage
        Returns: ApprovalStageItemRequestBuilder
        """
        if approval_stage_id is None:
            raise TypeError("approval_stage_id cannot be null.")
        from .item.approval_stage_item_request_builder import ApprovalStageItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["approvalStage%2Did"] = approval_stage_id
        return ApprovalStageItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the stages property of the microsoft.graph.approval entity.
        param approval_stage_id: The unique identifier of approvalStage
        Returns: ApprovalStageItemRequestBuilder
        
msgraph/generated/identity_governance/privileged_access/group/assignment_approvals/item/stages/stages_request_builder.py