class_docstr: Cluster manager for TensorFlow servers.
docstr: Get the local (ip) address.
  
  If labelled as AUTODIST_WORKER by the environment variable,
  the value of it is the address of the local node;
  otherwise the local node is chief.
  
  Returns:
      str: Worker ip or chief address by default.
docstr_tok: ["Get","the","local","(","ip",")","address",".","If","labelled","as","AUTODIST_WORKER","by","the","environment","variable",",","the","value","of","it","is","the","address","of","the","local","node",";","otherwise","the","local","node","is","chief",".","Returns",":","str",":","Worker","ip","or","chief","address","by","default","."]
code: def get_local_address(self):
      """
      Get the local (ip) address.
  
      If labelled as AUTODIST_WORKER by the environment variable,
      the value of it is the address of the local node;
      otherwise the local node is chief.
  
      Returns:
          str: Worker ip or chief address by default.
      """
      return ENV.AUTODIST_WORKER.val or self._chief
  
imports: import atexit
  import contextlib
  import json
  import os
  import signal
  import subprocess
  import sys
  import warnings
  from abc import ABCMeta, abstractmethod
  import paramiko
  from autodist.const import DEFAULT_PORT_RANGE, DEFAULT_WORKING_DIR, ENV
  from autodist.resource_spec import ResourceSpec
  from autodist.utils import logging
label_desc: Use image node_id 7 for calling the Cluster obj's underlying member method code with example usage: obj.get_local_address() and returns: unknown