def session_info_resource_with_key(self,key: str) -> SessionInfoResourceWithKeyRequestBuilder:
        """
        Provides operations to call the sessionInfoResource method.
        param key: Usage: key='{key}'
        Returns: SessionInfoResourceWithKeyRequestBuilder
        """
        if key is None:
            raise TypeError("key cannot be null.")
        from .session_info_resource_with_key.session_info_resource_with_key_request_builder import SessionInfoResourceWithKeyRequestBuilder

        return SessionInfoResourceWithKeyRequestBuilder(self.request_adapter, self.path_parameters, key)

        Provides operations to call the sessionInfoResource method.
        param key: Usage: key='{key}'
        Returns: SessionInfoResourceWithKeyRequestBuilder
        
msgraph/generated/drives/item/items/item/workbook/workbook_request_builder.py