class_docstr: Mock implementation of a BatchingNodeProvider.
docstr: This method is used in test_autoscaler.py.
docstr_tok: ["This","method","is","used","in","test_autoscaler.py","."]
code: def non_terminated_node_ips(self, tag_filters):
      """This method is used in test_autoscaler.py."""
      return [
          node_data.ip
          for node_id, node_data in self._node_data_dict.items()
          if tag_filters.items() <= self.node_tags(node_id).items()
      ]
  
imports: from copy import copy
  from uuid import uuid4
  import os
  import random
  import sys
  from typing import Any, Dict
  from collections import defaultdict
  import pytest
  from ray.autoscaler.batching_node_provider import BatchingNodeProvider, NodeData, ScaleRequest
  from ray.autoscaler._private.util import NodeID, NodeType
  from ray.autoscaler.tags import STATUS_UP_TO_DATE, TAG_RAY_USER_NODE_TYPE, TAG_RAY_NODE_KIND, TAG_RAY_NODE_STATUS, NODE_KIND_HEAD, NODE_KIND_WORKER
  from ray.autoscaler._private.constants import DISABLE_LAUNCH_CONFIG_CHECK_KEY, DISABLE_NODE_UPDATERS_KEY, FOREGROUND_NODE_LAUNCH_KEY
label_desc: Use image node_id 5 for calling the MockBatchingNodeProvider obj's underlying member method code with example usage: obj.non_terminated_node_ips(tag_filters) and returns: unknown