class_docstr: A registry of stuff with names.
class_docstr_tok: ["A","registry","of","stuff","with","names","."]
docstr: Add the given member to this registry.
  
  Returns the input, for easy inlining.
docstr_tok: ["Add","the","given","member","to","this","registry",".","Returns","the","input",",","for","easy","inlining","."]
code: def add(self, member: N) -> N:
      """
      Add the given member to this registry.
  
      Returns the input, for easy inlining.
      """
      assert (
          member.name not in self._members
      ), f"{member} already registred under name {member.name}."
      self._members[member.name] = member
      return member
  
file_path: GPflow/benchmark/registry.py
imports: from typing import AbstractSet, Any, Dict, Generic, Sequence, TypeVar
  from typing_extensions import Protocol
  from benchmark.tag import Tag, TagReq
label_desc: Use image node_id 2 for calling the Registry obj's underlying member method code with example usage: obj.add(member) and returns: member