class_docstr: This class is a simple wrapper maintaining loaded query objects from
  the current TabPy instance. `query_objects` is a dictionary that
  maps query object URI to query objects
  
  The query_objects schema is as follow:
  
  {'version': <current-successfuly-loaded-version>,
   'last_error':<your-recent-error-to-load-model>,
   'endpoint_obj':<loaded_query_objects>,
   'type':<object-type>,
   'status':<LoadSuccessful-or-LoadFailed-or-LoadInProgress>}
class_docstr_tok: ["This","class","is","a","simple","wrapper","maintaining","loaded","query","objects","from","the","current","TabPy","instance",".","`","query_objects","`","is","a","dictionary","that","maps","query","object","URI","to","query","objects","The","query_objects","schema","is","as","follow",":","{","'version","'",":","<","current-successfuly-loaded-version",">",",","'last_error","'",":","<","your-recent-error-to-load-model",">",",","'endpoint_obj","'",":","<","loaded_query_objects",">",",","'type","'",":","<","object-type",">",",","'status","'",":","<","LoadSuccessful-or-LoadFailed-or-LoadInProgress",">","}"]
docstr: Delete one or more objects from the query_objects map
docstr_tok: ["Delete","one","or","more","objects","from","the","query_objects","map"]
code: def delete_objects(self, object_uris):
      """Delete one or more objects from the query_objects map"""
      if isinstance(object_uris, list):
          deleted = []
          for uri in object_uris:
              deleted.extend(self.delete_objects(uri).uris)
          return ObjectsDeleted(deleted)
      elif isinstance(object_uris, str):
          deleted_obj = self.query_objects.pop(object_uris, None)
          if deleted_obj:
              return ObjectsDeleted([object_uris])
          else:
              logger.warning(
                  f"Received message to delete query object "
                  f"that doesn't exist: "
                  f"object_uris={object_uris}"
              )
              return ObjectsDeleted([])
      else:
          logger.error(
              f"Unexpected input to delete objects: input={object_uris}, "
              f'info="Input should be list or str. '
              f'Type: {type(object_uris)}"'
          )
          return ObjectsDeleted([])
  
file_path: TabPy/tabpy/tabpy_server/psws/python_service.py
imports: import concurrent.futures
  import logging
  from tabpy.tabpy_server.common.util import format_exception
  from tabpy.tabpy_server.common.messages import LoadObject, DeleteObjects, FlushObjects, CountObjects, ListObjects, UnknownMessage, LoadFailed, ObjectsDeleted, ObjectsFlushed, QueryFailed, QuerySuccessful, UnknownURI, DownloadSkipped, LoadInProgress, ObjectCount, ObjectList
  from tabpy.tabpy_tools.query_object import QueryObject
label_desc: Use image node_id 4 for calling the PythonService obj's underlying member method code with example usage: obj.delete_objects(object_uris) and returns: ObjectsDeleted, ObjectsDeleted, ObjectsDeleted, ObjectsDeleted