code: def flush(self, timeout=None, callback=None):
          
          client, scope = self._stack[-1]
          if client is not None:
              return client.flush(timeout=timeout, callback=callback)
docs: Alias for self.client.flush