original_docstring: Populate instance with default attributes.
  
          This is used when creating a new instance NOT from the
          database.
          
docstring: Populate instance with default attributes.
  This is used when creating a new instance NOT from the
  database.
docstring_tokens: Populate instance with default attributes . This is used when creating a new instance NOT from the database .
code: def createDefaultAttributes(self):
          """Populate instance with default attributes.
  
          This is used when creating a new instance NOT from the
          database.
          """
          for attr in self.rowColumns:
              if getKeyColumn(self.__class__, attr):
                  continue
              for column, ctype, typeid in self.dbColumns:
                  if column.lower(column) == attr.lower():
                      q = dbTypeMap.get(ctype, None)
                      if q == NOQUOTE:
                          setattr(self, attr, 0)
                      else:
                          setattr(self, attr, "")
code_tokens: def createDefaultAttributes ( self ) : for attr in self . rowColumns : if getKeyColumn ( self . __class__ , attr ) : continue for column , ctype , typeid in self . dbColumns : if column . lower ( column ) == attr . lower ( ) : q = dbTypeMap . get ( ctype , None ) if q == NOQUOTE : setattr ( self , attr , 0 ) else : setattr ( self , attr , "" )
short_docstring: Populate instance with default attributes.
short_docstring_tokens: Populate instance with default attributes .
comment: """Populate instance with default attributes.
  
          This is used when creating a new instance NOT from the
          database.
          """