class_docstr: Pushes chunks of files to our streaming endpoint.
  
  This class is used as a singleton. It has a thread that serializes access to
  the streaming endpoint and performs rate-limiting and batching.
  
  TODO: Differentiate between binary/text encoding.
docstr: Push a chunk of a file to the streaming endpoint.
  
  Arguments:
      filename: Name of file that this is a chunk of.
      data: File data.
docstr_tok: ["Push","a","chunk","of","a","file","to","the","streaming","endpoint",".","Arguments",":","filename",":","Name","of","file","that","this","is","a","chunk","of",".","data",":","File","data","."]
code: def push(self, filename: str, data: Any) -> None:
      """Push a chunk of a file to the streaming endpoint.
  
      Arguments:
          filename: Name of file that this is a chunk of.
          data: File data.
      """
      self._queue.put(Chunk(filename, data))
  
imports: import base64
  import functools
  import itertools
  import logging
  import os
  import queue
  import random
  import sys
  import threading
  import time
  from types import TracebackType
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, NamedTuple, Optional, Set, Tuple, Type, Union
  import requests
  import wandb
  from wandb import util
  from wandb.sdk.internal import internal_api
  from ..lib import file_stream_utils
label_desc: Use image node_id 15 for calling the FileStreamApi obj's underlying member method code with example usage: obj.push(filename, data) without return types