class_docstr: Wrapper class for the basic BlueFog API.
class_docstr_tok: ["Wrapper","class","for","the","basic","BlueFog","API","."]
docstr: Return the ranks of all out-neighbors.
  Notice: No matter self-loop is presented or not, self rank will not be included.
  
  Returns:
      out_neighbor_ranks
docstr_tok: ["Return","the","ranks","of","all","out-neighbors",".","Notice",":","No","matter","self-loop","is","presented","or","not",",","self","rank","will","not","be","included",".","Returns",":","out_neighbor_ranks"]
code: def out_neighbor_ranks(self) -> List[int]:
      """Return the ranks of all out-neighbors.
      Notice: No matter self-loop is presented or not, self rank will not be included.
  
      Returns:
          out_neighbor_ranks
      """
      if self._topology is None:
          return []
      _rank = self.rank()
      out_neighbor_ranks = [
          r
          for r in self._topology.successors(self.rank())
          if r != _rank
      ]
      return out_neighbor_ranks
  
imports: from typing import List, Callable, Optional
  import atexit
  import contextlib
  import ctypes
  import logging
  import networkx
  import bluefog.common.util
  import bluefog.common.topology_util
label_desc: Use image node_id 19 for calling the BlueFogBasics obj's underlying member method code with example usage: obj.out_neighbor_ranks() and returns: out_neighbor_ranks, list