code: def warning(self, __s, *args):
      show = self._settings.show_warnings
      summary = self._settings.summary_warnings
      if show is not None or summary is not None:
          s = __s % args
      self._num_warnings += 1
      if show is not None:
          if self._num_warnings <= show or show == 0:
              print("[WARNING]", s)
              if self._num_warnings == show:
                  print("not showing any more warnings")
      if summary is not None:
          if self._num_warnings <= summary or summary == 0:
              self._warnings.append(s)
  
file_path: wandb/wandb/sdk/lib/reporting.py
imports: import logging
label_desc: Use image node_id 3 for calling the _Reporter obj's underlying member method code with example usage: obj.warning(__s) without return types