class_docstr: Start a new data server as a subprocess.
class_docstr_tok: ["Start","a","new","data","server","as","a","subprocess","."]
docstr: Initializes an ingester with the given configuration.
  
  Args:
    server_binary: `ServerBinary` to launch.
    logdir: String, as passed to `--logdir`.
    reload_interval: Number, as passed to `--reload_interval`.
    channel_creds_type: `grpc_util.ChannelCredsType`, as passed to
      `--grpc_creds_type`.
    samples_per_plugin: Dict[String, Int], as parsed from
      `--samples_per_plugin`.
    extra_flags: List of extra string flags to be passed to the
      data server without further interpretation.
docstr_tok: ["Initializes","an","ingester","with","the","given","configuration",".","Args",":","server_binary",":","`","ServerBinary","`","to","launch",".","logdir",":","String",",","as","passed","to","`","--","logdir","`",".","reload_interval",":","Number",",","as","passed","to","`","--","reload_interval","`",".","channel_creds_type",":","`","grpc_util.ChannelCredsType","`",",","as","passed","to","`","--","grpc_creds_type","`",".","samples_per_plugin",":","Dict","[","String",",","Int","]",",","as","parsed","from","`","--","samples_per_plugin","`",".","extra_flags",":","List","of","extra","string","flags","to","be","passed","to","the","data","server","without","further","interpretation","."]
code: def __init__(
      self,
      server_binary,
      logdir,
      *,
      reload_interval,
      channel_creds_type,
      samples_per_plugin=None,
      extra_flags=None,
  ):
      """Initializes an ingester with the given configuration.
  
      Args:
        server_binary: `ServerBinary` to launch.
        logdir: String, as passed to `--logdir`.
        reload_interval: Number, as passed to `--reload_interval`.
        channel_creds_type: `grpc_util.ChannelCredsType`, as passed to
          `--grpc_creds_type`.
        samples_per_plugin: Dict[String, Int], as parsed from
          `--samples_per_plugin`.
        extra_flags: List of extra string flags to be passed to the
          data server without further interpretation.
      """
      self._server_binary = server_binary
      self._data_provider = None
      self._logdir = logdir
      self._reload_interval = reload_interval
      self._channel_creds_type = channel_creds_type
      self._samples_per_plugin = samples_per_plugin or {}
      self._extra_flags = list(extra_flags or [])
  
imports: import errno
  import logging
  import os
  import subprocess
  import tempfile
  import time
  import grpc
  import pkg_resources
  from tensorboard.data import grpc_provider
  from tensorboard.data import ingester
  from tensorboard.data.proto import data_provider_pb2
  from tensorboard.util import tb_logging
label_desc: Use image node_id 1 to create a new SubprocessServerDataIngester object from inherited base classes: ingester with example: obj = SubprocessServerDataIngester(server_binary, logdir)