def process_initialize_request(parameters: lsp.InitializeParameters, ide_features: Optional[configuration_module.IdeFeatures]=None) -> lsp.InitializeResult:
    LOG.info(f'Received initialization request from {parameters.client_info}  (pid = {parameters.process_id})')
    server_info = lsp.Info(name='pyre', version=version.__version__)
    server_capabilities = lsp.ServerCapabilities(text_document_sync=lsp.TextDocumentSyncOptions(open_close=True, change=lsp.TextDocumentSyncKind.NONE, save=lsp.SaveOptions(include_text=False)), **({'hover_provider': ide_features.is_hover_enabled()} if (ide_features is not None) else {}))
    return lsp.InitializeResult(capabilities=server_capabilities, server_info=server_info)
def process_initialize_request(parameters: lsp.InitializeParameters, ide_features: Optional[configuration_module.IdeFeatures]=None) -> lsp.InitializeResult:
    LOG.info(f'Received initialization request from {parameters.client_info}  (pid = {parameters.process_id})')
    server_info = lsp.Info(name='pyre', version=version.__version__)
    server_capabilities = lsp.ServerCapabilities(text_document_sync=lsp.TextDocumentSyncOptions(open_close=True, change=lsp.TextDocumentSyncKind.NONE, save=lsp.SaveOptions(include_text=False)), **({'hover_provider': ide_features.is_hover_enabled()} if (ide_features is not None) else {}))
    return lsp.InitializeResult(capabilities=server_capabilities, server_info=server_info)