code: def remove_all_breakpoints(self, py_db, filename):
          '''
          Removes all the breakpoints from a given file or from all files if filename == '*'.
          '''
          changed = False
          lst = [
              py_db.file_to_id_to_line_breakpoint,
              py_db.file_to_id_to_plugin_breakpoint,
              py_db.breakpoints
          ]
          if hasattr(py_db, 'django_breakpoints'):
              lst.append(py_db.django_breakpoints)
  
          if hasattr(py_db, 'jinja2_breakpoints'):
              lst.append(py_db.jinja2_breakpoints)
  
          for file_to_id_to_breakpoint in lst:
              if filename == '*':
                  if file_to_id_to_breakpoint:
                      file_to_id_to_breakpoint.clear()
                      changed = True
              else:
                  if filename in file_to_id_to_breakpoint:
                      del file_to_id_to_breakpoint[filename]
                      changed = True
  
          if changed:
              py_db.on_breakpoints_changed(removed=Truef remove_all_breakpoints(self, py_db, filename):
          '''
          Removes all the breakpoints from a given file or from all files if filename == '*'.
          '''
          changed = False
          lst = [
              py_db.file_to_id_to_line_breakpoint,
              py_db.file_to_id_to_plugin_breakpoint,
              py_db.breakpoints
          ]
          if hasattr(py_db, 'django_breakpoints'):
              lst.append(py_db.django_breakpoints)
  
          if hasattr(py_db, 'jinja2_breakpoints'):
              lst.append(py_db.jinja2_breakpoints)
  
          for file_to_id_to_breakpoint in lst:
              if filename == '*':
                  if file_to_id_to_breakpoint:
                      file_to_id_to_breakpoint.clear()
                      changed = True
              else:
                  if filename in file_to_id_to_breakpoint:
                      del file_to_id_to_breakpoint[filename]
                      changed = True
  
          if changed:
              py_db.on_breakpoints_changed(removed=True)
docs: Removes all the breakpoints from a given file or from all files if filename == '*'.