Skip to content

Instantly share code, notes, and snippets.

@and3rson
Created November 12, 2021 23:55
Show Gist options
  • Save and3rson/8a0a09309146aedfaa2a7e9f469fc69d to your computer and use it in GitHub Desktop.
Save and3rson/8a0a09309146aedfaa2a7e9f469fc69d to your computer and use it in GitHub Desktop.
[START][2021-11-13 01:54:50] LSP logging initiated
[INFO][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:258 "Starting RPC client" { args = {}, cmd = "pylsp", extra = {}}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { callHierarchy = { dynamicRegistration = false }, textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = { dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.6.0" }, initializationOptions = vim.empty_dict(), processId = 3136377, rootPath = "/home/anderson/src/de-pipeline/backend", rootUri = "file:///home/anderson/src/de-pipeline/backend", trace = "off", workspaceFolders = { { name = "/home/anderson/src/de-pipeline/backend", uri = "file:///home/anderson/src/de-pipeline/backend" } } }}
[INFO][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:258 "Starting RPC client" { args = { "--stdio" }, cmd = "pyright-langserver", extra = {}}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { callHierarchy = { dynamicRegistration = false }, textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = { dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.6.0" }, initializationOptions = vim.empty_dict(), processId = 3136377, rootPath = "/home/anderson/src/de-pipeline/backend", rootUri = "file:///home/anderson/src/de-pipeline/backend", trace = "off", workspaceFolders = { { name = "/home/anderson/src/de-pipeline/backend", uri = "file:///home/anderson/src/de-pipeline/backend" } } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Pyright language server 1.1.186 starting", type = 3 }}
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Pyright language server 1.1.186 starting"
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Server root directory: /usr/lib/node_modules/pyright/dist/", type = 3 }}
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Server root directory: /usr/lib/node_modules/pyright/dist/"
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { callHierarchyProvider = true, codeActionProvider = { codeActionKinds = { "quickfix", "source.organizeImports" }, workDoneProgress = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ".", "[" }, workDoneProgress = true }, declarationProvider = { workDoneProgress = true }, definitionProvider = { workDoneProgress = true }, documentHighlightProvider = { workDoneProgress = true }, documentSymbolProvider = { workDoneProgress = true }, executeCommandProvider = { commands = {}, workDoneProgress = true }, hoverProvider = { workDoneProgress = true }, referencesProvider = { workDoneProgress = true }, renameProvider = { workDoneProgress = true }, signatureHelpProvider = { triggerCharacters = { "(", ",", ")" }, workDoneProgress = true }, textDocumentSync = 2, workspaceSymbolProvider = { workDoneProgress = true } } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { jsonrpc = "2.0", method = "initialized", params = vim.empty_dict()}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { jsonrpc = "2.0", method = "workspace/didChangeConfiguration", params = { settings = { pyright = { disableDiagnostics = true }, python = { analysis = { autoSearchPaths = true, diagnosticMode = "workspace", typeCheckingMode = "off", useLibraryCodeForTypes = true } }, typeCheckingMode = "off" } }}
[DEBUG][2021-11-13 01:54:52] .../lua/vim/lsp.lua:871 "LSP[pyright]" "server_capabilities" { callHierarchyProvider = true, codeActionProvider = { codeActionKinds = { "quickfix", "source.organizeImports" }, workDoneProgress = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ".", "[" }, workDoneProgress = true }, declarationProvider = { workDoneProgress = true }, definitionProvider = { workDoneProgress = true }, documentHighlightProvider = { workDoneProgress = true }, documentSymbolProvider = { workDoneProgress = true }, executeCommandProvider = { commands = {}, workDoneProgress = true }, hoverProvider = { workDoneProgress = true }, referencesProvider = { workDoneProgress = true }, renameProvider = { workDoneProgress = true }, signatureHelpProvider = { triggerCharacters = { "(", ",", ")" }, workDoneProgress = true }, textDocumentSync = 2, workspaceSymbolProvider = { workDoneProgress = true }}
[INFO][2021-11-13 01:54:52] .../lua/vim/lsp.lua:872 "LSP[pyright]" "initialized" { resolved_capabilities = { call_hierarchy = true, code_action = { codeActionKinds = { "quickfix", "source.organizeImports" }, workDoneProgress = true }, code_lens = false, code_lens_resolve = false, completion = true, declaration = { workDoneProgress = true }, document_formatting = false, document_highlight = { workDoneProgress = true }, document_range_formatting = false, document_symbol = { workDoneProgress = true }, execute_command = true, find_references = { workDoneProgress = true }, goto_definition = { workDoneProgress = true }, hover = { workDoneProgress = true }, implementation = false, rename = true, signature_help = true, signature_help_trigger_characters = { "(", ",", ")" }, text_document_did_change = 2, text_document_open_close = true, text_document_save = true, text_document_save_include_text = false, text_document_will_save = false, text_document_will_save_wait_until = false, type_definition = false, workspace_folder_properties = { changeNotifications = false, supported = false }, workspace_symbol = { workDoneProgress = true } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "python", text = "from datetime import datetime\nfrom typing import Optional\nfrom urllib.parse import urlparse\nfrom uuid import uuid1\n\nimport peewee\nfrom playhouse import db_url, postgres_ext\nfrom playhouse.shortcuts import ReconnectMixin\n\nfrom chrysalis import settings\nfrom chrysalis.log import getLogger\nfrom chrysalis.utils import slug\n\n# from playhouse.postgres_ext import ArrayField\n\nLOGGER = getLogger(__name__)\nDBINFO = urlparse(settings.DB_URI)\n\nclass ReconnectPostgresDatabase(ReconnectMixin, peewee.PostgresqlDatabase):\n pass\n\nfor scheme_name in ['psql', 'postgres', 'postgresql']:\n db_url.schemes[scheme_name] = ReconnectPostgresDatabase\n\ndef create_database_connection():\n return db_url.connect(settings.DB_URI, unquote_password=True, autorollback=True)\n\n# Since forking copies all file descriptors, this leads\n# to database connections being shared across forks.\n# This breaks psycopg.\n#\n# Recommended solutions are:\n# - Init all DB-related stuff (e. g. import repo.models) *after* forking;\n# - Create new DB connection within forked process.\n#\n# Using first method is problematic since it would require us\n# to break module readability & add a lot of boilerplate code.\n# Using second method is as easy as one-lining the\n# DATABASE.initialize(get_database_connection()) within forked processes.\n#\n# Using proxy below allows us to re-init the DB with a different connection\n# inside forked code (see Philtera's processor/app.py:anonymizer_process\n# for a use case) without manually telling the models to use a different\n# DB connection.\n\nDATABASE = peewee.DatabaseProxy()\nDATABASE.initialize(create_database_connection())\n\nclass BaseModel(peewee.Model):\n id = None\n\n class Meta:\n database = DATABASE\n only_save_dirty = True\n\nclass Pipeline(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n title = peewee.TextField(null=False)\n status = peewee.TextField(null=False, default='idle')\n created_at = postgres_ext.DateTimeTZField(null=False)\n steps = None\n\n class Meta:\n table_name = 'pipeline'\n schema = 'chrysalis'\n\n def serialize(self):\n first_step = self.steps.order_by(Step.order).first()\n return dict(\n id=self.id,\n title=self.title,\n status=self.status,\n created_at=self.created_at,\n step_count=self.steps.count(),\n arguments=first_step.arguments if first_step else [],\n )\n\nclass Step(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n pipeline = peewee.ForeignKeyField(Pipeline, backref='steps')\n pipeline_id: int\n order = peewee.IntegerField(null=False)\n title = peewee.TextField(null=False)\n slug = peewee.TextField()\n arguments = postgres_ext.ArrayField(default=[])\n operator = peewee.TextField(null=False)\n operator_config = postgres_ext.BinaryJSONField(null=False)\n step_datasource_map = None\n\n class Meta:\n table_name = 'step'\n schema = 'chrysalis'\n\n def save(self, *args, **kwargs):\n self.slug = slug(self.title)\n super().save(*args, **kwargs)\n\n @property\n def operator_class(self):\n # Local import to avoid circular dependency with databackends\n from chrysalis.operators import OPERATORS # pylint: disable=import-outside-toplevel\n return OPERATORS[self.operator]\n\n def serialize(self):\n return dict(\n id=self.id,\n pipeline_id=self.pipeline_id,\n order=self.order,\n title=self.title,\n slug=self.slug,\n arguments=self.arguments,\n operator=self.operator,\n operator_config=self.operator_config,\n operator_title=self.operator_class.title,\n )\n\n def update_datasource_map(self):\n StepDatasource.delete().where(StepDatasource.step_id == self.id).execute()\n datasource_ids = []\n if isinstance(self.operator_config.get('datasources'), (list, tuple)): # pylint: disable=no-member\n datasource_ids.extend(self.operator_config['datasources'])\n if isinstance(self.operator_config.get('named_datasources'), dict): # pylint: disable=no-member\n datasource_ids.extend(self.operator_config['named_datasources'].values()) # pylint: disable=no-member\n StepDatasource.insert_many([\n dict(step_id=self.id, datasource_id=datasource_id)\n for datasource_id\n in datasource_ids\n ]).execute(None)\n\nclass PipelineExecution(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n pipeline = peewee.ForeignKeyField(Pipeline, backref='pipeline_executions')\n pipeline_id: int\n current_step = peewee.ForeignKeyField(Step, null=True, backref='current_executions')\n current_step_id: Optional[int]\n current_step_execution = peewee.DeferredForeignKey(\n 'StepExecution', null=True, backref='current_executions'\n ) # TODO: Document this\n current_step_execution_id: Optional[int]\n status = peewee.TextField(null=False)\n # user_id = peewee.IntegerField(null=False)\n # launched_by = peewee.TextField(null=False)\n launched_at = postgres_ext.DateTimeTZField(null=False)\n # TODO: Copy step title & config here?\n\n class Meta:\n table_name = 'pipeline_execution'\n schema = 'chrysalis'\n\n def serialize(self):\n return dict(\n id=self.id,\n pipeline_id=self.pipeline_id,\n current_step_id=self.current_step_id,\n current_step_execution_id=self.current_step_execution_id, # TODO: Document this\n status=self.status,\n launched_at=self.launched_at,\n pipeline=self.pipeline.serialize(),\n current_step=self.current_step.serialize() if self.current_step_id else None,\n )\n\nclass StepExecution(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n step = peewee.ForeignKeyField(Step, backref='step_executions')\n step_id: int\n launched_at = postgres_ext.DateTimeTZField(null=False)\n pipeline_execution = peewee.ForeignKeyField(PipelineExecution, backref='step_executions')\n pipeline_execution_id: int\n arguments = postgres_ext.BinaryJSONField(null=False, default=dict)\n # TODO: Copy step title & config here?\n\n class Meta:\n table_name = 'step_execution'\n schema = 'chrysalis'\n\n def serialize(self):\n return dict(\n id=self.id,\n step_id=self.step_id,\n launched_at=self.launched_at,\n pipeline_execution_id=self.pipeline_execution_id,\n step=self.step.serialize(),\n arguments=self.arguments,\n )\n\nclass StepExecutionLog(BaseModel):\n id = peewee.UUIDField(default=uuid1, primary_key=True)\n step_execution = peewee.ForeignKeyField(StepExecution, backref='step_execution_logs')\n step_execution_id: int\n created_at = postgres_ext.DateTimeTZField(null=False, default=datetime.now) # default is required for bulk_crete\n source = peewee.TextField(null=True) # Can currently be 'stdout', 'stderr' or 'error'\n content = peewee.TextField(null=True)\n\n class Meta:\n table_name = 'step_execution_log'\n schema = 'chrysalis'\n\n def serialize(self):\n return dict(\n id=self.id,\n step_execution_id=self.step_execution_id,\n created_at=self.created_at,\n source=self.source,\n content=self.content,\n )\n\nclass Datasource(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n title = peewee.TextField(null=False) # TODO: Make unique\n slug = peewee.TextField()\n databackend = peewee.TextField(null=False)\n databackend_config = postgres_ext.BinaryJSONField(null=False)\n step_datasource_map = None\n\n class Meta:\n table_name = 'datasource'\n schema = 'chrysalis'\n\n def save(self, *args, **kwargs):\n self.slug = slug(self.title)\n super().save(*args, **kwargs)\n\n @property\n def databackend_class(self):\n # Local import to avoid circular dependency with databackends\n from chrysalis.databackends import DATABACKENDS # pylint: disable=import-outside-toplevel\n return DATABACKENDS[self.databackend]\n\n def serialize(self):\n # dependants = Step.select().where(Step.operator_config.contains({'datasources': [self.id]}))\n return dict(\n id=self.id,\n title=self.title,\n slug=self.slug,\n databackend=self.databackend,\n databackend_config=self.databackend_config,\n databackend_title=self.databackend_class.title,\n databackend_browser=getattr(self.databackend_class, 'browser_id', None),\n step_ids=[\n step_datasource.step_id\n for step_datasource\n in self.step_datasource_map.select()\n ],\n # dependants=[\n # dependant.id\n # for dependant\n # in dependants\n # ],\n )\n\nclass StepDatasource(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n step = peewee.ForeignKeyField(Step, backref='step_datasource_map')\n step_id: int\n datasource = peewee.ForeignKeyField(Datasource, backref='step_datasource_map')\n datasource_id: int\n\n class Meta:\n table_name = 'step_datasource'\n schema = 'chrysalis'\n\nclass User(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n\n class Meta:\n table_name = 'user'\n schema = 'chrysalis'\n", uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/repo/models.py", version = 0 } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { id = 0, jsonrpc = "2.0", method = "client/registerCapability", params = { registrations = { { id = "bc5c6eb8-d2ea-46ea-8a6a-7ea6027b11d8", method = "workspace/didChangeWorkspaceFolders", registerOptions = vim.empty_dict() } } }}
[WARN][2021-11-13 01:54:52] ...lsp/handlers.lua:107 "The language server pyright triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:456 "server_request: callback result" { result = vim.NIL, status = true}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 0, jsonrpc = "2.0", result = vim.NIL}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { id = 1, jsonrpc = "2.0", method = "workspace/configuration", params = { items = { { scopeUri = "file:///home/anderson/src/de-pipeline/backend", section = "python" } } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:456 "server_request: callback result" { result = { { analysis = { autoSearchPaths = true, diagnosticMode = "workspace", typeCheckingMode = "off", useLibraryCodeForTypes = true } } }, status = true}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 1, jsonrpc = "2.0", result = { { analysis = { autoSearchPaths = true, diagnosticMode = "workspace", typeCheckingMode = "off", useLibraryCodeForTypes = true } } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { id = 2, jsonrpc = "2.0", method = "workspace/configuration", params = { items = { { scopeUri = "file:///home/anderson/src/de-pipeline/backend", section = "python.analysis" } } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:456 "server_request: callback result" { result = { { autoSearchPaths = true, diagnosticMode = "workspace", typeCheckingMode = "off", useLibraryCodeForTypes = true } }, status = true}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 2, jsonrpc = "2.0", result = { { autoSearchPaths = true, diagnosticMode = "workspace", typeCheckingMode = "off", useLibraryCodeForTypes = true } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { id = 3, jsonrpc = "2.0", method = "workspace/configuration", params = { items = { { scopeUri = "file:///home/anderson/src/de-pipeline/backend", section = "pyright" } } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:456 "server_request: callback result" { result = { { disableDiagnostics = true } }, status = true}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 3, jsonrpc = "2.0", result = { { disableDiagnostics = true } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Loading configuration file at /home/anderson/src/de-pipeline/backend/pyrightconfig.json", type = 3 }}
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Loading configuration file at /home/anderson/src/de-pipeline/backend/pyrightconfig.json"
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Assuming Python version 3.9", type = 3 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Assuming Python platform Linux", type = 3 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "No include entries specified; assuming /home/anderson/src/de-pipeline/backend", type = 3 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Auto-excluding **/node_modules", type = 3 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Auto-excluding **/__pycache__", type = 3 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Auto-excluding .git", type = 3 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "stubPath /home/anderson/src/de-pipeline/backend/typings is not a valid directory.", type = 2 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js", type = 2 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js", type = 2 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js", type = 2 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Searching for source files", type = 3 }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Found 45 source files", type = 3 }}
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Assuming Python version 3.9"
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Assuming Python platform Linux"
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "No include entries specified; assuming /home/anderson/src/de-pipeline/backend"
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Auto-excluding **/node_modules"
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Auto-excluding **/__pycache__"
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Auto-excluding .git"
[WARN][2021-11-13 01:54:52] ...lsp/handlers.lua:401 "stubPath /home/anderson/src/de-pipeline/backend/typings is not a valid directory."
[WARN][2021-11-13 01:54:52] ...lsp/handlers.lua:401 "Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js"
[WARN][2021-11-13 01:54:52] ...lsp/handlers.lua:401 "Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js"
[WARN][2021-11-13 01:54:52] ...lsp/handlers.lua:401 "Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js"
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Searching for source files"
[INFO][2021-11-13 01:54:52] ...lsp/handlers.lua:403 "Found 45 source files"
[ERROR][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:412 "rpc" "pylsp" "stderr" "2021-11-13 01:54:52,418 EET - WARNING - pylsp.config.config - Failed to load pylsp entry point 'autopep8': No module named 'autopep8'\n"
[ERROR][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:412 "rpc" "pylsp" "stderr" "2021-11-13 01:54:52,427 EET - WARNING - pylsp.config.config - Failed to load pylsp entry point 'pydocstyle': No module named 'pydocstyle'\n"
[ERROR][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:412 "rpc" "pylsp" "stderr" "2021-11-13 01:54:52,438 EET - WARNING - pylsp.config.config - Failed to load pylsp entry point 'rope_completion': No module named 'rope'\n"
[ERROR][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:412 "rpc" "pylsp" "stderr" "2021-11-13 01:54:52,439 EET - WARNING - pylsp.config.config - Failed to load pylsp entry point 'rope_rename': No module named 'rope'\n"
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:446 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { codeActionProvider = true, codeLensProvider = { resolveProvider = false }, completionProvider = { resolveProvider = true, triggerCharacters = { "." } }, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = {} }, experimental = vim.empty_dict(), foldingRangeProvider = true, hoverProvider = true, referencesProvider = true, renameProvider = true, signatureHelpProvider = { triggerCharacters = { "(", ",", "=" } }, textDocumentSync = { change = 2, openClose = true, save = { includeText = true } }, workspace = { workspaceFolders = { changeNotifications = true, supported = true } } }, serverInfo = { name = "pylsp", version = "1.2.4" } }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { jsonrpc = "2.0", method = "initialized", params = vim.empty_dict()}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { jsonrpc = "2.0", method = "workspace/didChangeConfiguration", params = { settings = { pylsp = { plugins = { flake8 = { enabled = false }, jedi_completion = { enabled = false }, jedi_definition = { enabled = false }, pycodestyle = { enabled = false }, pyflakes = { enabled = false }, pylint = { args = {}, enabled = true, executable = "pylint" }, rope_completion = { enabled = false } } } } }}
[DEBUG][2021-11-13 01:54:52] .../lua/vim/lsp.lua:871 "LSP[pylsp]" "server_capabilities" { codeActionProvider = true, codeLensProvider = { resolveProvider = false }, completionProvider = { resolveProvider = true, triggerCharacters = { "." } }, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = {} }, experimental = vim.empty_dict(), foldingRangeProvider = true, hoverProvider = true, referencesProvider = true, renameProvider = true, signatureHelpProvider = { triggerCharacters = { "(", ",", "=" } }, textDocumentSync = { change = 2, openClose = true, save = { includeText = true } }, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }}
[INFO][2021-11-13 01:54:52] .../lua/vim/lsp.lua:872 "LSP[pylsp]" "initialized" { resolved_capabilities = { call_hierarchy = false, code_action = true, code_lens = true, code_lens_resolve = false, completion = true, declaration = false, document_formatting = true, document_highlight = true, document_range_formatting = true, document_symbol = true, execute_command = true, find_references = true, goto_definition = true, hover = true, implementation = false, rename = true, signature_help = true, signature_help_trigger_characters = { "(", ",", "=" }, text_document_did_change = 2, text_document_open_close = true, text_document_save = { includeText = true }, text_document_save_include_text = true, text_document_will_save = false, text_document_will_save_wait_until = false, type_definition = false, workspace_folder_properties = { changeNotifications = true, supported = true }, workspace_symbol = false }}
[DEBUG][2021-11-13 01:54:52] .../vim/lsp/rpc.lua:339 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "python", text = "from datetime import datetime\nfrom typing import Optional\nfrom urllib.parse import urlparse\nfrom uuid import uuid1\n\nimport peewee\nfrom playhouse import db_url, postgres_ext\nfrom playhouse.shortcuts import ReconnectMixin\n\nfrom chrysalis import settings\nfrom chrysalis.log import getLogger\nfrom chrysalis.utils import slug\n\n# from playhouse.postgres_ext import ArrayField\n\nLOGGER = getLogger(__name__)\nDBINFO = urlparse(settings.DB_URI)\n\nclass ReconnectPostgresDatabase(ReconnectMixin, peewee.PostgresqlDatabase):\n pass\n\nfor scheme_name in ['psql', 'postgres', 'postgresql']:\n db_url.schemes[scheme_name] = ReconnectPostgresDatabase\n\ndef create_database_connection():\n return db_url.connect(settings.DB_URI, unquote_password=True, autorollback=True)\n\n# Since forking copies all file descriptors, this leads\n# to database connections being shared across forks.\n# This breaks psycopg.\n#\n# Recommended solutions are:\n# - Init all DB-related stuff (e. g. import repo.models) *after* forking;\n# - Create new DB connection within forked process.\n#\n# Using first method is problematic since it would require us\n# to break module readability & add a lot of boilerplate code.\n# Using second method is as easy as one-lining the\n# DATABASE.initialize(get_database_connection()) within forked processes.\n#\n# Using proxy below allows us to re-init the DB with a different connection\n# inside forked code (see Philtera's processor/app.py:anonymizer_process\n# for a use case) without manually telling the models to use a different\n# DB connection.\n\nDATABASE = peewee.DatabaseProxy()\nDATABASE.initialize(create_database_connection())\n\nclass BaseModel(peewee.Model):\n id = None\n\n class Meta:\n database = DATABASE\n only_save_dirty = True\n\nclass Pipeline(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n title = peewee.TextField(null=False)\n status = peewee.TextField(null=False, default='idle')\n created_at = postgres_ext.DateTimeTZField(null=False)\n steps = None\n\n class Meta:\n table_name = 'pipeline'\n schema = 'chrysalis'\n\n def serialize(self):\n first_step = self.steps.order_by(Step.order).first()\n return dict(\n id=self.id,\n title=self.title,\n status=self.status,\n created_at=self.created_at,\n step_count=self.steps.count(),\n arguments=first_step.arguments if first_step else [],\n )\n\nclass Step(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n pipeline = peewee.ForeignKeyField(Pipeline, backref='steps')\n pipeline_id: int\n order = peewee.IntegerField(null=False)\n title = peewee.TextField(null=False)\n slug = peewee.TextField()\n arguments = postgres_ext.ArrayField(default=[])\n operator = peewee.TextField(null=False)\n operator_config = postgres_ext.BinaryJSONField(null=False)\n step_datasource_map = None\n\n class Meta:\n table_name = 'step'\n schema = 'chrysalis'\n\n def save(self, *args, **kwargs):\n self.slug = slug(self.title)\n super().save(*args, **kwargs)\n\n @property\n def operator_class(self):\n # Local import to avoid circular dependency with databackends\n from chrysalis.operators import OPERATORS # pylint: disable=import-outside-toplevel\n return OPERATORS[self.operator]\n\n def serialize(self):\n return dict(\n id=self.id,\n pipeline_id=self.pipeline_id,\n order=self.order,\n title=self.title,\n slug=self.slug,\n arguments=self.arguments,\n operator=self.operator,\n operator_config=self.operator_config,\n operator_title=self.operator_class.title,\n )\n\n def update_datasource_map(self):\n StepDatasource.delete().where(StepDatasource.step_id == self.id).execute()\n datasource_ids = []\n if isinstance(self.operator_config.get('datasources'), (list, tuple)): # pylint: disable=no-member\n datasource_ids.extend(self.operator_config['datasources'])\n if isinstance(self.operator_config.get('named_datasources'), dict): # pylint: disable=no-member\n datasource_ids.extend(self.operator_config['named_datasources'].values()) # pylint: disable=no-member\n StepDatasource.insert_many([\n dict(step_id=self.id, datasource_id=datasource_id)\n for datasource_id\n in datasource_ids\n ]).execute(None)\n\nclass PipelineExecution(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n pipeline = peewee.ForeignKeyField(Pipeline, backref='pipeline_executions')\n pipeline_id: int\n current_step = peewee.ForeignKeyField(Step, null=True, backref='current_executions')\n current_step_id: Optional[int]\n current_step_execution = peewee.DeferredForeignKey(\n 'StepExecution', null=True, backref='current_executions'\n ) # TODO: Document this\n current_step_execution_id: Optional[int]\n status = peewee.TextField(null=False)\n # user_id = peewee.IntegerField(null=False)\n # launched_by = peewee.TextField(null=False)\n launched_at = postgres_ext.DateTimeTZField(null=False)\n # TODO: Copy step title & config here?\n\n class Meta:\n table_name = 'pipeline_execution'\n schema = 'chrysalis'\n\n def serialize(self):\n return dict(\n id=self.id,\n pipeline_id=self.pipeline_id,\n current_step_id=self.current_step_id,\n current_step_execution_id=self.current_step_execution_id, # TODO: Document this\n status=self.status,\n launched_at=self.launched_at,\n pipeline=self.pipeline.serialize(),\n current_step=self.current_step.serialize() if self.current_step_id else None,\n )\n\nclass StepExecution(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n step = peewee.ForeignKeyField(Step, backref='step_executions')\n step_id: int\n launched_at = postgres_ext.DateTimeTZField(null=False)\n pipeline_execution = peewee.ForeignKeyField(PipelineExecution, backref='step_executions')\n pipeline_execution_id: int\n arguments = postgres_ext.BinaryJSONField(null=False, default=dict)\n # TODO: Copy step title & config here?\n\n class Meta:\n table_name = 'step_execution'\n schema = 'chrysalis'\n\n def serialize(self):\n return dict(\n id=self.id,\n step_id=self.step_id,\n launched_at=self.launched_at,\n pipeline_execution_id=self.pipeline_execution_id,\n step=self.step.serialize(),\n arguments=self.arguments,\n )\n\nclass StepExecutionLog(BaseModel):\n id = peewee.UUIDField(default=uuid1, primary_key=True)\n step_execution = peewee.ForeignKeyField(StepExecution, backref='step_execution_logs')\n step_execution_id: int\n created_at = postgres_ext.DateTimeTZField(null=False, default=datetime.now) # default is required for bulk_crete\n source = peewee.TextField(null=True) # Can currently be 'stdout', 'stderr' or 'error'\n content = peewee.TextField(null=True)\n\n class Meta:\n table_name = 'step_execution_log'\n schema = 'chrysalis'\n\n def serialize(self):\n return dict(\n id=self.id,\n step_execution_id=self.step_execution_id,\n created_at=self.created_at,\n source=self.source,\n content=self.content,\n )\n\nclass Datasource(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n title = peewee.TextField(null=False) # TODO: Make unique\n slug = peewee.TextField()\n databackend = peewee.TextField(null=False)\n databackend_config = postgres_ext.BinaryJSONField(null=False)\n step_datasource_map = None\n\n class Meta:\n table_name = 'datasource'\n schema = 'chrysalis'\n\n def save(self, *args, **kwargs):\n self.slug = slug(self.title)\n super().save(*args, **kwargs)\n\n @property\n def databackend_class(self):\n # Local import to avoid circular dependency with databackends\n from chrysalis.databackends import DATABACKENDS # pylint: disable=import-outside-toplevel\n return DATABACKENDS[self.databackend]\n\n def serialize(self):\n # dependants = Step.select().where(Step.operator_config.contains({'datasources': [self.id]}))\n return dict(\n id=self.id,\n title=self.title,\n slug=self.slug,\n databackend=self.databackend,\n databackend_config=self.databackend_config,\n databackend_title=self.databackend_class.title,\n databackend_browser=getattr(self.databackend_class, 'browser_id', None),\n step_ids=[\n step_datasource.step_id\n for step_datasource\n in self.step_datasource_map.select()\n ],\n # dependants=[\n # dependant.id\n # for dependant\n # in dependants\n # ],\n )\n\nclass StepDatasource(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n step = peewee.ForeignKeyField(Step, backref='step_datasource_map')\n step_id: int\n datasource = peewee.ForeignKeyField(Datasource, backref='step_datasource_map')\n datasource_id: int\n\n class Meta:\n table_name = 'step_datasource'\n schema = 'chrysalis'\n\nclass User(BaseModel):\n id = peewee.IntegerField(null=False, primary_key=True)\n\n class Meta:\n table_name = 'user'\n schema = 'chrysalis'\n", uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/repo/models.py", version = 0 } }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/log.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/settings.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/types.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/utils.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/app.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/databackends.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/datasources.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/operators.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/pipelines.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/system.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/test.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/utils.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/broker/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/common/encoders.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/common/events.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/blockdevice.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/localtmp.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/nfs.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/postgresql.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/s3.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/sftp.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/types.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/cli.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/filesystem.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/sql.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/types.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/executors/docker.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/python.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/s3.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/shell.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/sql.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/types.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/pipelines/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/pipelines/tasks.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot access member "order_by" for type "None"\n  Member "order_by" is unknown', range = { end = { character = 40, line = 67 }, start = { character = 32, line = 67 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot access member "count" for type "None"\n  Member "count" is unknown', range = { end = { character = 39, line = 73 }, start = { character = 34, line = 73 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot access member "execute" for type "None"\n  Member "execute" is unknown', range = { end = { character = 80, line = 117 }, start = { character = 73, line = 117 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot access member "get" for type "BinaryJSONField"\n  Member "get" is unknown', range = { end = { character = 46, line = 119 }, start = { character = 43, line = 119 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "JsonLookup" cannot be assigned to parameter "__iterable" of type "Iterable" in function "extend"\n  "JsonLookup" is incompatible with protocol "Iterable"\n    "__iter__" is not present', range = { end = { character = 69, line = 120 }, start = { character = 34, line = 120 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot access member "get" for type "BinaryJSONField"\n  Member "get" is unknown', range = { end = { character = 46, line = 121 }, start = { character = 43, line = 121 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot access member "values" for type "JsonLookup"\n  Member "values" is unknown', range = { end = { character = 82, line = 122 }, start = { character = 76, line = 122 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot access member "select" for type "None"\n  Member "select" is unknown', range = { end = { character = 50, line = 241 }, start = { character = 44, line = 241 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/repo/models.py", version = 0 }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/repo/migrate/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/repo/migrate/__main__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/repo/seed/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/repo/seed/__main__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/worker/__init__.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/worker/main.py" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { id = 4, jsonrpc = "2.0", method = "window/workDoneProgress/create", params = { token = "694d8c61-fc99-4b6a-8296-4088772d4a1a" }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:456 "server_request: callback result" { result = vim.NIL, status = true}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 4, jsonrpc = "2.0", result = vim.NIL}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "694d8c61-fc99-4b6a-8296-4088772d4a1a", value = { kind = "begin", title = "" } }}
[DEBUG][2021-11-13 01:54:53] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "694d8c61-fc99-4b6a-8296-4088772d4a1a", value = { kind = "report", message = "44 files to analyze" } }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/log.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/settings.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"obj" is not accessed', range = { end = { character = 25, line = 1 }, start = { character = 22, line = 1 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"objtype" is not accessed', range = { end = { character = 34, line = 1 }, start = { character = 27, line = 1 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/types.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/utils.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"socketio" is not accessed', range = { end = { character = 43, line = 6 }, start = { character = 35, line = 6 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/__init__.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/app.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/databackends.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/datasources.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/operators.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/pipelines.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/system.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/test.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/common/encoders.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "694d8c61-fc99-4b6a-8296-4088772d4a1a", value = { kind = "report", message = "39 files to analyze" } }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"data" is not accessed', range = { end = { character = 38, line = 27 }, start = { character = 34, line = 27 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"schema" is not accessed', range = { end = { character = 46, line = 27 }, start = { character = 40, line = 27 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"rule" is not accessed', range = { end = { character = 38, line = 36 }, start = { character = 34, line = 36 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"tag" is not accessed', range = { end = { character = 38, line = 37 }, start = { character = 35, line = 37 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/app.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/databackends.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument expression after ** must be a mapping with a "str" key type', range = { end = { character = 67, line = 129 }, start = { character = 55, line = 129 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/datasources.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/utils.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/common/events.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/pipelines/__init__.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "694d8c61-fc99-4b6a-8296-4088772d4a1a", value = { kind = "report", message = "36 files to analyze" } }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/operators.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument expression after ** must be a mapping with a "str" key type', range = { end = { character = 64, line = 143 }, start = { character = 52, line = 143 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Arguments missing for parameters "title", "operator", "operator_config", "arguments"', range = { end = { character = 65, line = 143 }, start = { character = 15, line = 143 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument expression after ** must be a mapping with a "str" key type', range = { end = { character = 55, line = 175 }, start = { character = 43, line = 175 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/pipelines.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/system.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/broker/__init__.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/worker/__init__.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "694d8c61-fc99-4b6a-8296-4088772d4a1a", value = { kind = "report", message = "33 files to analyze" } }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/test.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/api/utils.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"log" is not accessed', range = { end = { character = 35, line = 4 }, start = { character = 32, line = 4 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/broker/__init__.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/common/encoders.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/common/events.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/__init__.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "str | None" cannot be assigned to parameter "a" of type "BytesPath" in function "join"\n  Type "str | None" cannot be assigned to type "BytesPath"\n    Type "None" cannot be assigned to type "BytesPath"\n      Type "None" cannot be assigned to type "bytes"\n      "__fspath__" is not present\n      "__class_getitem__" is not present\n    Type "str" cannot be assigned to type "BytesPath"\n      "str" is incompatible with "bytes"\n      "str" is incompatible with protocol "PathLike[bytes]"', range = { end = { character = 41, line = 53 }, start = { character = 32, line = 53 } }, severity = 1, source = "Pyright" }, { message = '"path" is not accessed', range = { end = { character = 28, line = 78 }, start = { character = 24, line = 78 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/blockdevice.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/localtmp.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/nfs.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot assign member "conn" for type "PostgreSQLDatabackend"\n  Expression of type "None" cannot be assigned to member "conn" of class "PostgreSQLDatabackend"\n    Type "None" cannot be assigned to type "connection"', range = { end = { character = 17, line = 27 }, start = { character = 13, line = 27 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/postgresql.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"path" is not accessed', range = { end = { character = 28, line = 92 }, start = { character = 24, line = 92 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/s3.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "str | None" cannot be assigned to parameter "s" of type "bytes" in function "write"\n  Type "str | None" cannot be assigned to type "bytes"\n    "str" is incompatible with "bytes"\n    Type "None" cannot be assigned to type "bytes"', range = { end = { character = 45, line = 38 }, start = { character = 27, line = 38 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/sftp.py" }}
[DEBUG][2021-11-13 01:54:54] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "694d8c61-fc99-4b6a-8296-4088772d4a1a", value = { kind = "report", message = "21 files to analyze" } }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expression of type "AbstractProperty" cannot be assigned to declared type "str"\n  "AbstractProperty" is incompatible with "str"', range = { end = { character = 32, line = 6 }, start = { character = 14, line = 6 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expression of type "AbstractProperty" cannot be assigned to declared type "str"\n  "AbstractProperty" is incompatible with "str"', range = { end = { character = 35, line = 7 }, start = { character = 17, line = 7 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expression of type "AbstractProperty" cannot be assigned to declared type "str"\n  "AbstractProperty" is incompatible with "str"', range = { end = { character = 41, line = 8 }, start = { character = 23, line = 8 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expression of type "AbstractProperty" cannot be assigned to declared type "BaseModel"\n  "AbstractProperty" is incompatible with "BaseModel"', range = { end = { character = 42, line = 11 }, start = { character = 24, line = 11 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Object of type "NoReturn" is not callable', range = { end = { character = 39, line = 27 }, start = { character = 15, line = 27 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/types.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"FilesystemBrowser" is not accessed', range = { end = { character = 72, line = 0 }, start = { character = 55, line = 0 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"CLIBrowser" is not accessed', range = { end = { character = 58, line = 1 }, start = { character = 48, line = 1 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"SQLBrowser" is not accessed', range = { end = { character = 58, line = 2 }, start = { character = 48, line = 2 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/__init__.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"command" is not accessed', range = { end = { character = 37, line = 8 }, start = { character = 30, line = 8 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"args" is not accessed', range = { end = { character = 44, line = 8 }, start = { character = 40, line = 8 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"kwargs" is not accessed', range = { end = { character = 54, line = 8 }, start = { character = 48, line = 8 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/cli.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"path" is not accessed', range = { end = { character = 29, line = 30 }, start = { character = 25, line = 30 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"path" is not accessed', range = { end = { character = 28, line = 33 }, start = { character = 24, line = 33 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"kwargs" is not accessed', range = { end = { character = 54, line = 39 }, start = { character = 48, line = 39 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/filesystem.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"Type[Error]" is not valid exception class', range = { end = { character = 20, line = 50 }, start = { character = 15, line = 50 } }, severity = 1, source = "Pyright" }, { message = '"args" is not accessed', range = { end = { character = 44, line = 12 }, start = { character = 40, line = 12 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"kwargs" is not accessed', range = { end = { character = 54, line = 12 }, start = { character = 48, line = 12 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/sql.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = '"command" is not accessed', range = { end = { character = 37, line = 5 }, start = { character = 30, line = 5 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"args" is not accessed', range = { end = { character = 44, line = 5 }, start = { character = 40, line = 5 } }, severity = 4, source = "Pyright", tags = { 1 } }, { message = '"kwargs" is not accessed', range = { end = { character = 54, line = 5 }, start = { character = 48, line = 5 } }, severity = 4, source = "Pyright", tags = { 1 } } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/databackends/browsers/types.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/executors/docker.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/__init__.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot assign member "write" for type "TextIO"\n  Expression of type "(text: str) -> None" cannot be assigned to member "write" of class "TextIO"\n    Type "(text: str) -> None" cannot be assigned to type "(s: str) -> int"\n      Parameter name mismatch: "s" versus "text"\n      Function return type "None" is incompatible with type "int"\n        Type "None" cannot be assigned to type "int"', range = { end = { character = 24, line = 47 }, start = { character = 19, line = 47 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Cannot assign member "write" for type "TextIO"\n  Expression of type "(text: str) -> None" cannot be assigned to member "write" of class "TextIO"\n    Type "(text: str) -> None" cannot be assigned to type "(s: str) -> int"\n      Parameter name mismatch: "s" versus "text"\n      Function return type "None" is incompatible with type "int"\n        Type "None" cannot be assigned to type "int"', range = { end = { character = 24, line = 48 }, start = { character = 19, line = 48 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "int | None" cannot be assigned to parameter "x" of type "str | bytes | SupportsInt | SupportsIndex | _SupportsTrunc" in function "__new__"\n  Type "int | None" cannot be assigned to type "str | bytes | SupportsInt | SupportsIndex | _SupportsTrunc"\n    Type "None" cannot be assigned to type "str | bytes | SupportsInt | SupportsIndex | _SupportsTrunc"\n      Type "None" cannot be assigned to type "str"\n      Type "None" cannot be assigned to type "bytes"\n      "__int__" is not present\n      "__index__" is not present\n      "__trunc__" is not present', range = { end = { character = 81, line = 117 }, start = { character = 68, line = 117 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/python.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expected class type but received "type"', range = { end = { character = 42, line = 20 }, start = { character = 12, line = 20 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "tuple[str, str, str, str]" cannot be assigned to parameter "key" of type "str | List[str] | Tuple[str]" in function "__getitem__"\n  Type "tuple[str, str, str, str]" cannot be assigned to type "str | List[str] | Tuple[str]"\n    "tuple[str, str, str, str]" is incompatible with "str"\n    "tuple[str, str, str, str]" is incompatible with "List[str]"\n    Tuple size mismatch; expected 1 but received 4', range = { end = { character = 5, line = 26 }, start = { character = 17, line = 21 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expected class type but received "type"', range = { end = { character = 5, line = 26 }, start = { character = 17, line = 21 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "tuple[str, str, str, str]" cannot be assigned to parameter "key" of type "str | List[str] | Tuple[str]" in function "__getitem__"\n  Type "tuple[str, str, str, str]" cannot be assigned to type "str | List[str] | Tuple[str]"\n    "tuple[str, str, str, str]" is incompatible with "str"\n    "tuple[str, str, str, str]" is incompatible with "List[str]"\n    Tuple size mismatch; expected 1 but received 4', range = { end = { character = 5, line = 35 }, start = { character = 12, line = 30 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expected class type but received "type"', range = { end = { character = 5, line = 35 }, start = { character = 12, line = 30 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expected class type but received "type"', range = { end = { character = 47, line = 36 }, start = { character = 17, line = 36 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "str" cannot be assigned to parameter "paths" of type "BytesPath" in function "join"\n  Type "str" cannot be assigned to type "BytesPath"\n    "str" is incompatible with "bytes"\n    "str" is incompatible with protocol "PathLike[bytes]"\n      "__fspath__" is not present\n      "__class_getitem__" is not present', range = { end = { character = 56, line = 58 }, start = { character = 16, line = 58 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "str | None" cannot be assigned to parameter "paths" of type "BytesPath" in function "join"\n  Type "str | None" cannot be assigned to type "BytesPath"\n    Type "str" cannot be assigned to type "BytesPath"\n      "str" is incompatible with "bytes"\n      "str" is incompatible with protocol "PathLike[bytes]"\n        "__fspath__" is not present\n        "__class_getitem__" is not present\n    Type "None" cannot be assigned to type "BytesPath"\n      Type "None" cannot be assigned to type "bytes"', range = { end = { character = 32, line = 59 }, start = { character = 16, line = 59 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = '"exceptions" is not a known member of module', range = { end = { character = 34, line = 72 }, start = { character = 24, line = 72 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = '"exceptions" is not a known member of module', range = { end = { character = 34, line = 103 }, start = { character = 24, line = 103 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "str | None" cannot be assigned to parameter "pattern" of type "Pattern[AnyStr@compile]" in function "compile"\n  Type "str | None" cannot be assigned to type "Pattern[AnyStr@compile]"\n    "str" is incompatible with "Pattern[AnyStr@compile]"\n    Type "None" cannot be assigned to type "Pattern[AnyStr@compile]"', range = { end = { character = 47, line = 110 }, start = { character = 33, line = 110 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/s3.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Argument of type "tuple[str, str, str, str]" cannot be assigned to parameter "key" of type "str | List[str] | Tuple[str]" in function "__getitem__"\n  Type "tuple[str, str, str, str]" cannot be assigned to type "str | List[str] | Tuple[str]"\n    "tuple[str, str, str, str]" is incompatible with "str"\n    "tuple[str, str, str, str]" is incompatible with "List[str]"\n    Tuple size mismatch; expected 1 but received 4', range = { end = { character = 9, line = 65 }, start = { character = 26, line = 60 } }, severity = 1, source = "Pyright" }, { code = "reportGeneralTypeIssues", codeDescription = { href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md" }, message = 'Expected class type but received "type"', range = { end = { character = 9, line = 65 }, start = { character = 26, line = 60 } }, severity = 1, source = "Pyright" } }, uri = "file:///home/anderson/src/de-pipeline/backend/chrysalis/operators/shell.py" }}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "694d8c61-fc99-4b6a-8296-4088772d4a1a", value = { kind = "report", message = "10 files to analyze" } }}
[INFO][2021-11-13 01:54:55] .../lua/vim/lsp.lua:1236 "exit_handler" { { _on_attach = <function 1>, attached_buffers = { [2] = true }, cancel_request = <function 2>, config = { _on_attach = <function 3>, autostart = true, capabilities = { callHierarchy = <1>{ dynamicRegistration = false }, textDocument = <2>{ codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = <3>{ showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = <4>{ dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = <5>{ resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, cmd = { "pylsp" }, cwd = "/home/anderson/src/de-pipeline/backend", filetypes = { "python" }, flags = {}, get_language_id = <function 4>, handlers = <6>{}, init_options = vim.empty_dict(), log_level = 2, message_level = 2, name = "pylsp", on_attach = <function 5>, on_exit = <function 6>, on_init = <function 7>, root_dir = "/home/anderson/src/de-pipeline/backend", settings = { pylsp = { plugins = { flake8 = { enabled = false }, jedi_completion = { enabled = false }, jedi_definition = { enabled = false }, pycodestyle = { enabled = false }, pyflakes = { enabled = false }, pylint = { args = {}, enabled = true, executable = "pylint" }, rope_completion = { enabled = false } } } }, single_file_support = true, workspace_folders = <7>{ { name = "/home/anderson/src/de-pipeline/backend", uri = "file:///home/anderson/src/de-pipeline/backend" } }, <metatable> = <8>{ __tostring = <function 8> } }, handlers = <table 6>, id = 1, initialized = true, is_stopped = <function 9>, messages = { messages = {}, name = "pylsp", progress = {}, status = {} }, name = "pylsp", notify = <function 10>, offset_encoding = "utf-16", request = <function 11>, request_sync = <function 12>, requests = {}, resolved_capabilities = { call_hierarchy = false, code_action = true, code_lens = true, code_lens_resolve = false, completion = true, declaration = false, document_formatting = true, document_highlight = true, document_range_formatting = true, document_symbol = true, execute_command = true, find_references = true, goto_definition = true, hover = true, implementation = false, rename = true, signature_help = true, signature_help_trigger_characters = <9>{ "(", ",", "=" }, text_document_did_change = 2, text_document_open_close = true, text_document_save = <10>{ includeText = true }, text_document_save_include_text = true, text_document_will_save = false, text_document_will_save_wait_until = false, type_definition = false, workspace_folder_properties = { changeNotifications = true, supported = true }, workspace_symbol = false }, rpc = { handle = <userdata 1>, notify = <function 13>, pid = 3136486, request = <function 14> }, server_capabilities = { codeActionProvider = true, codeLensProvider = { resolveProvider = false }, completionProvider = { resolveProvider = true, triggerCharacters = { "." } }, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = {} }, experimental = vim.empty_dict(), foldingRangeProvider = true, hoverProvider = true, referencesProvider = true, renameProvider = true, signatureHelpProvider = { triggerCharacters = <table 9> }, textDocumentSync = { change = 2, openClose = true, save = <table 10> }, workspace = { workspaceFolders = { changeNotifications = true, supported = true } } }, stop = <function 15>, supports_method = <function 16>, workspaceFolders = <table 7>, workspace_did_change_configuration = <function 17> }, { _on_attach = <function 18>, attached_buffers = { [2] = true }, cancel_request = <function 19>, config = { _on_attach = <function 3>, autostart = true, capabilities = { callHierarchy = <table 1>, textDocument = <table 2>, window = <table 3>, workspace = { applyEdit = true, configuration = true, symbol = <table 4>, workspaceEdit = <table 5>, workspaceFolders = true } }, cmd = { "pyright-langserver", "--stdio" }, cwd = "/home/anderson/src/de-pipeline/backend", filetypes = { "python" }, flags = {}, get_language_id = <function 20>, handlers = <11>{}, init_options = vim.empty_dict(), log_level = 2, message_level = 2, name = "pyright", on_attach = <function 21>, on_exit = <function 22>, on_init = <function 23>, root_dir = "/home/anderson/src/de-pipeline/backend", settings = { pyright = { disableDiagnostics = true }, python = { analysis = { autoSearchPaths = true, diagnosticMode = "workspace", typeCheckingMode = "off", useLibraryCodeForTypes = true } }, typeCheckingMode = "off" }, single_file_support = true, workspace_folders = <12>{ { name = "/home/anderson/src/de-pipeline/backend", uri = "file:///home/anderson/src/de-pipeline/backend" } }, <metatable> = <table 8> }, handlers = <table 11>, id = 2, initialized = true, is_stopped = <function 24>, messages = { messages = {}, name = "pyright", progress = { ["694d8c61-fc99-4b6a-8296-4088772d4a1a"] = {} }, status = {} }, name = "pyright", notify = <function 25>, offset_encoding = "utf-16", request = <function 26>, request_sync = <function 27>, requests = {}, resolved_capabilities = { call_hierarchy = true, code_action = <13>{ codeActionKinds = { "quickfix", "source.organizeImports" }, workDoneProgress = true }, code_lens = false, code_lens_resolve = false, completion = true, declaration = <14>{ workDoneProgress = true }, document_formatting = false, document_highlight = <15>{ workDoneProgress = true }, document_range_formatting = false, document_symbol = <16>{ workDoneProgress = true }, execute_command = true, find_references = <17>{ workDoneProgress = true }, goto_definition = <18>{ workDoneProgress = true }, hover = <19>{ workDoneProgress = true }, implementation = false, rename = true, signature_help = true, signature_help_trigger_characters = <20>{ "(", ",", ")" }, text_document_did_change = 2, text_document_open_close = true, text_document_save = true, text_document_save_include_text = false, text_document_will_save = false, text_document_will_save_wait_until = false, type_definition = false, workspace_folder_properties = { changeNotifications = false, supported = false }, workspace_symbol = <21>{ workDoneProgress = true } }, rpc = { handle = <userdata 2>, notify = <function 28>, pid = 3136487, request = <function 29> }, server_capabilities = { callHierarchyProvider = true, codeActionProvider = <table 13>, completionProvider = { resolveProvider = true, triggerCharacters = { ".", "[" }, workDoneProgress = true }, declarationProvider = <table 14>, definitionProvider = <table 18>, documentHighlightProvider = <table 15>, documentSymbolProvider = <table 16>, executeCommandProvider = { commands = {}, workDoneProgress = true }, hoverProvider = <table 19>, referencesProvider = <table 17>, renameProvider = { workDoneProgress = true }, signatureHelpProvider = { triggerCharacters = <table 20>, workDoneProgress = true }, textDocumentSync = 2, workspaceSymbolProvider = <table 21> }, stop = <function 30>, supports_method = <function 31>, workspaceFolders = <table 12>, workspace_did_change_configuration = <function 32> } }
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 2, jsonrpc = "2.0", method = "shutdown"}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:339 "rpc.send" { id = 2, jsonrpc = "2.0", method = "shutdown"}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:446 "rpc.receive" { id = 2, jsonrpc = "2.0"}
[DEBUG][2021-11-13 01:54:55] .../vim/lsp/rpc.lua:339 "rpc.send" { jsonrpc = "2.0", method = "exit"}
[START][2021-11-13 01:55:20] LSP logging initiated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment