def by_drive_id(self,drive_id: str) -> DriveItemRequestBuilder:
        """
        Provides operations to manage the collection of drive entities.
        param drive_id: The unique identifier of drive
        Returns: DriveItemRequestBuilder
        """
        if drive_id is None:
            raise TypeError("drive_id cannot be null.")
        from .item.drive_item_request_builder import DriveItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["drive%2Did"] = drive_id
        return DriveItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the collection of drive entities.
        param drive_id: The unique identifier of drive
        Returns: DriveItemRequestBuilder
        
msgraph/generated/drives/drives_request_builder.py