code: def removeWorkerType(self, *args, **kwargs):
          
  
          return self._makeApiCall(self.funcinfo["removeWorkerType"], *args, **kwargs)
docs: Delete Worker Type
  
          Delete a worker type definition.  This method will only delete
          the worker type definition from the storage table.  The actual
          deletion will be handled by a background worker.  As soon as this
          method is called for a worker type, the background worker will
          immediately submit requests to cancel all spot requests for this
          worker type as well as killing all instances regardless of their
          state.  If you want to gracefully remove a worker type, you must
          either ensure that no tasks are created with that worker type name
          or you could theoretically set maxCapacity to 0, though, this is
          not a supported or tested action
  
          This method is ``stable``