code: def create(cls, values, **context):
          
          schema = cls.schema()
          model = cls
  
          # check for creating inherited classes from a sub class
          polymorphic_columns = schema.columns(flags=orb.Column.Flags.Polymorphic)
          if polymorphic_columns:
              polymorphic_column = polymorphic_columns.values()[0]
              schema_name = values.get(polymorphic_column.name(), schema.name())
              if schema_name and schema_name != schema.name():
                  schema = orb.system.schema(schema_name)
                  if not schema:
                      raise orb.errors.ModelNotFound(schema=schema_name)
                  else:
                      model = schema.model()
  
          column_values = {}
          collector_values = {}
  
          for key, value in values.items():
              obj = schema.collector(key) or schema.column(key)
              if isinstance(obj, orb.Collector):
                  collector_values[key] = value
              else:
                  column_values[key] = value
  
          # create the new record with column values (values stored on this record)
          record = model(context=orb.Context(**context))
          record.update(column_values)
          record.save()
  
          # save any collector values after the model is generated (values stored on other records)
          record.update(collector_values)
  
          return record
docs: Shortcut for creating a new record for this table.
  
          :param     values | <dict>
  
          :return    <orb.Table>