ossdbtoolsservice/query_execution/query_execution_service.py (11 lines): - line 182: 'Encountered exception while handling query request') # TODO: Localize - line 222: 'Encountered exception while handling query request') # TODO: Localize - line 270: request_context.send_error('Another query is currently executing.') # TODO: Localize - line 301: request_context.send_response(QueryCancelResult(NO_QUERY_MESSAGE)) # TODO: Localize - line 306: request_context.send_response(QueryCancelResult('Query already executed')) # TODO: Localize - line 325: request_context.send_error(NO_QUERY_MESSAGE) # TODO: Localize - line 341: raise LookupError('Could not find associated connection') # TODO: Localize - line 431: error_message = 'Unhandled exception while executing query: {}'.format(str(e)) # TODO: Localize - line 437: error_message = 'Error while rolling back open transaction due to previous failure: ' + error_message # TODO: Localize - line 475: return '({0} row(s) affected)'.format(batch.row_count) # TODO: Localize - line 477: return 'Commands completed successfully' # TODO: Localize ossdbtoolsservice/object_explorer/object_explorer_service.py (9 lines): - line 124: # TODO: Localize - line 148: message = f'Failed to close OE session: {str(e)}' # TODO: Localize - line 229: response.error_message = f'Failed to expand node: {message}' # TODO: Localize - line 241: raise ValueError(f'OE session with ID {params.session_id} does not exist') # TODO: Localize - line 244: raise ValueError(f'Object Explorer session with ID {params.session_id} is not ready, yet.') # TODO: Localize - line 249: message = f'Failed to expand node: {str(e)}' # TODO: Localize - line 284: raise RuntimeError('Connection was cancelled during connect') # TODO Localize - line 314: message = f'Failed to initialize object explorer session: {str(e)}' # TODO Localize - line 382: raise ValueError(f'Path {path} does not have a matching OE route') # TODO: Localize ossdbtoolsservice/language/language_service.py (6 lines): - line 53: 'datatype': CompletionItemKind.Unit, # TODO review this - line 54: 'fk join': CompletionItemKind.Reference, # TODO review this. As it's an FK join, that's like a reference? - line 56: 'join': CompletionItemKind.Snippet, # TODO review this. Join suggest is kind of like a snippet? - line 58: 'name join': CompletionItemKind.Snippet, # TODO review this. Join suggest is kind of like a snippet? - line 284: # TODO build the cache. For now, sending intellisense ready as a test - line 294: # TODO Ideally would support connected diagnostics for missing references pgsmo/objects/server/server.py (6 lines): - line 88: return 'pg' # TODO: Determine if a server is PPAS or PG - line 97: # TODO: Ensure that this formatting works with non-username/password logins - line 137: raise ValueError('URN was not provided') # TODO: Localize? - line 142: raise ValueError('Provided URN is not applicable to this server') # TODO: Localize? - line 150: raise ValueError(f'URN is invalid: server does not contain {class_name} objects') # TODO: Localize? - line 153: # TODO: Create a .get method for NodeCollection (see https://github.com/Microsoft/carbon/issues/1713) ossdbtoolsservice/hosting/json_rpc_server.py (6 lines): - line 126: # TODO: Add support for handlers for the responses - line 139: # TODO: Add support for handlers for the responses - line 257: # TODO: Route to the handler or send error message - line 269: # TODO: Localize? - line 285: error_message = f'Unhandled exception while handling request method {message.message_method}: "{e}"' # TODO: Localize - line 388: self.send_error('Unhandled exception: {}'.format(str(ex))) # TODO: Localize ossdbtoolsservice/utils/validate.py (4 lines): - line 16: # TODO: Localize - line 29: # TODO: Localize - line 41: # TODO: Localize - line 53: # TODO: Localize pgsmo/objects/datatype/datatype.py (4 lines): - line 71: # TODO acl seems to be handled by separate query so skip for now - line 129: # TODO support composite, which is a complex property - line 143: # TODO support composite data type properties - line 144: # TODO support enum value ossdbtoolsservice/disaster_recovery/disaster_recovery_service.py (4 lines): - line 51: request_context.send_error('No connection corresponding to the given owner URI') # TODO: Localize - line 57: task = Task('Backup', f'Host: {host}, Database: {database}', provider, host, database, request_context, # TODO: Localize - line 68: request_context.send_error('No connection corresponding to the given owner URI') # TODO: Localize - line 73: task = Task('Restore', f'Host: {host}, Database: {database}', provider, host, database, request_context, # TODO: Localize smo/common/node_object.py (3 lines): - line 30: template_vars = {} # TODO: Allow configuring show/hide system objects - line 135: # TODO: Create a .get method for NodeCollection (see https://github.com/Microsoft/carbon/issues/1713) - line 335: raise NameError('An item with the provided index does not exist') # TODO: Localize? pgsmo/objects/table/table.py (3 lines): - line 459: # TODO: Add partition condition _is_partition_and_constraint_inherited - line 467: # TODO: Add partition condition _is_partition_and_constraint_inherited - line 473: # TODO: Add partition condition _is_partition_and_constraint_inherited ossdbtoolsservice/object_explorer/routing/pg_routing.py (2 lines): - line 80: raise ValueError('Object type to retrieve nodes is invalid') # TODO: Localize - line 247: # TODO: We need a better icon for rules ossdbtoolsservice/workspace/script_file.py (2 lines): - line 149: # TODO: Localize - line 158: # TODO: Localize mysqlsmo/objects/server/server.py (2 lines): - line 82: # return 'pg' # TODO: Determine if a server is PPAS or PG - line 91: # TODO: Ensure that this formatting works with non-username/password logins ossdbtoolsservice/scripting/scripter.py (2 lines): - line 49: raise ValueError(f'Script operation {operation} is not supported') # TODO: Localize - line 60: # TODO: Localize smo/utils/templating.py (2 lines): - line 78: # TODO: Modifier is minus - line 96: # 3) TODO: If necessary, add a global macro directory to check LAST ossdbtoolsservice/disaster_recovery/contracts/backup.py (1 line): - line 89: # TODO: Localize the display names and descriptions ossdbtoolsservice/hosting/json_reader.py (1 line): - line 206: # TODO: Take into consideration that the implementation of this protocol should place ossdbtoolsservice/workspace/workspace.py (1 line): - line 82: # TODO: Localize ossdbtoolsservice/query/contracts/result_set_subset.py (1 line): - line 59: raise IndexError(f'(Results corresponding to {owner_uri} do not exist)') # TODO: Localize smo/utils/urn.py (1 line): - line 24: raise ValueError('The URN is invalid') # TODO: Localize? ossdbtoolsservice/driver/types/psycopg_driver.py (1 line): - line 194: # TODO: Find a way to store the provider name as an attribute in the cursor object pgsmo/objects/table_objects/constraints.py (1 line): - line 27: convalidated bool: ? TODO: Figure out what this value means ossdbtoolsservice/capabilities/contracts/initialize_request.py (1 line): - line 16: self.capabilities: any = None # TODO: Add support for client capabilities ossdbtoolsservice/language/operations_queue.py (1 line): - line 74: # TODO consider thread pool for multiple messages? Or full ossdbtoolsservice/metadata/metadata_service.py (1 line): - line 95: request_context.send_error('Unhandled exception while listing metadata: ' + str(e)) # TODO: Localize mysqlsmo/objects/database/database.py (1 line): - line 65: # TODO: add Schema mysqlsmo ossdbtoolsservice/language/completion_refresher.py (1 line): - line 70: return 'Auto-completion refresh started in the background.' # TODO localize ossdbtoolsservice/disaster_recovery/contracts/restore.py (1 line): - line 64: # TODO: Localize the display names and descriptions ossdbtoolsservice/scripting/contracts/scriptas_request.py (1 line): - line 17: # INSERT = 2 # TODO: Reenable INSERT script operation when it is supported. (https://github.com/Microsoft/carbon/issues/1751) ossdbtoolsservice/query/batch.py (1 line): - line 143: # TODO: PyMySQL doesn't support notices from a connection ossdbtoolsservice/driver/types/pymysql_driver.py (1 line): - line 189: # TODO generate a query that kills the current query process