parameters: (self, other)
docstring: Add keys and values to the dictionary.
docstring_summary: Add keys and values to the dictionary.
docstring_tokens: Add keys and values to the dictionary .
function: def update(self, other):
          """Add keys and values to the dictionary."""
          # We do not allow new keys or type specification after attaching so we
          # need to check if we are attached here.
          if not self._attached and isinstance(other, ParameterDict):
              self._type_converter.update(other._type_converter)
              self._dict.update(other._dict)
              self._getters.update(other._getters)
              self._setters.update(other._setters)
          else:
              for key, value in other.items():
                  self[key] = value
function_tokens: def update ( self , other ) : # We do not allow new keys or type specification after attaching so we # need to check if we are attached here. if not self . _attached and isinstance ( other , ParameterDict ) : self . _type_converter . update ( other . _type_converter ) self . _dict . update ( other . _dict ) self . _getters . update ( other . _getters ) self . _setters . update ( other . _setters ) else : for key , value in other . items ( ) : self [ key ] = value