def by_calendar_group_id(self,calendar_group_id: str) -> CalendarGroupItemRequestBuilder:
        """
        Provides operations to manage the calendarGroups property of the microsoft.graph.user entity.
        param calendar_group_id: The unique identifier of calendarGroup
        Returns: CalendarGroupItemRequestBuilder
        """
        if calendar_group_id is None:
            raise TypeError("calendar_group_id cannot be null.")
        from .item.calendar_group_item_request_builder import CalendarGroupItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["calendarGroup%2Did"] = calendar_group_id
        return CalendarGroupItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the calendarGroups property of the microsoft.graph.user entity.
        param calendar_group_id: The unique identifier of calendarGroup
        Returns: CalendarGroupItemRequestBuilder
        
msgraph/generated/users/item/calendar_groups/calendar_groups_request_builder.py