original_docstring: Assign to a key attribute.
  
          This cannot be done through normal means to protect changing
          keys of db objects.
          
docstring: Assign to a key attribute.
  This cannot be done through normal means to protect changing
  keys of db objects.
docstring_tokens: Assign to a key attribute . This cannot be done through normal means to protect changing keys of db objects .
code: def assignKeyAttr(self, attrName, value):
          """Assign to a key attribute.
  
          This cannot be done through normal means to protect changing
          keys of db objects.
          """
          found = 0
          for keyColumn, type in self.rowKeyColumns:
              if keyColumn == attrName:
                  found = 1
          if not found:
              raise DBError("%s is not a key columns." % attrName)
          self.__dict__[attrName] = value
code_tokens: def assignKeyAttr ( self , attrName , value ) : found = 0 for keyColumn , type in self . rowKeyColumns : if keyColumn == attrName : found = 1 if not found : raise DBError ( "%s is not a key columns." % attrName ) self . __dict__ [ attrName ] = value
short_docstring: Assign to a key attribute.
short_docstring_tokens: Assign to a key attribute .
comment: """Assign to a key attribute.
  
          This cannot be done through normal means to protect changing
          keys of db objects.
          """