class_docstr: Collection of configured endpoints.
class_docstr_tok: ["Collection","of","configured","endpoints","."]
docstr: Create an `AvailableEndpoints` object.
docstr_tok: ["Create","an","`","AvailableEndpoints","`","object","."]
code: def __init__(
      self,
      nlg: Optional[EndpointConfig] = None,
      nlu: Optional[EndpointConfig] = None,
      action: Optional[EndpointConfig] = None,
      model: Optional[EndpointConfig] = None,
      tracker_store: Optional[EndpointConfig] = None,
      lock_store: Optional[EndpointConfig] = None,
      event_broker: Optional[EndpointConfig] = None,
  ) -> None:
      """Create an `AvailableEndpoints` object."""
      self.model = model
      self.action = action
      self.nlu = nlu
      self.nlg = nlg
      self.tracker_store = tracker_store
      self.lock_store = lock_store
      self.event_broker = event_broker
  
imports: import json
  import logging
  import os
  from decimal import Decimal
  from pathlib import Path
  from typing import Any, Dict, Optional, Set, Text, Tuple, Union
  import numpy
  import rasa.shared.utils.io
  from rasa.constants import DEFAULT_SANIC_WORKERS, ENV_SANIC_WORKERS
  from rasa.shared.constants import DEFAULT_ENDPOINTS_PATH, TCP_PROTOCOL
  from rasa.core.lock_store import LockStore, RedisLockStore, InMemoryLockStore
  from rasa.utils.endpoints import EndpointConfig, read_endpoint_config
  from sanic import Sanic
  from socket import SOCK_DGRAM, SOCK_STREAM
  import rasa.cli.utils
label_desc: Use image node_id 2 to create a new AvailableEndpoints object  with example: obj = AvailableEndpoints(nlg, nlu, action, model, tracker_store, lock_store, event_broker)