code: def get_all_methods(self, entry_point=ALL, protocol=ALL, sort_methods=False):
          
  
          if sort_methods:
              return [
                  method for (_, method) in sorted(self._registry.items()) if method.is_valid_for(entry_point, protocol)
              ]
  
          return self._registry.values()
docs: Return a list of all methods in the registry supported by the given entry_point / protocol pair