

def __init__(self, cls, database=None, db_table=None, db_table_func=None, indexes=None, order_by=None, primary_key=None, table_alias=None, constraints=None, schema=None, validate_backrefs=True, only_save_dirty=False, **kwargs):
    self.model_class = cls
    self.name = cls.__name__.lower()
    self.fields = {
        
    }
    self.columns = {
        
    }
    self.defaults = {
        
    }
    self._default_by_name = {
        
    }
    self._default_dict = {
        
    }
    self._default_callables = {
        
    }
    self._default_callable_list = []
    self._sorted_field_list = _SortedFieldList()
    self.sorted_fields = []
    self.sorted_field_names = []
    self.database = (database or default_database)
    self.db_table = db_table
    self.db_table_func = db_table_func
    self.indexes = list((indexes or []))
    self.order_by = order_by
    self.primary_key = primary_key
    db_table.table_alias = table_alias
    self.constraints = constraints
    self.schema = schema
    self.validate_backrefs = validate_backrefs
    self.only_save_dirty = only_save_dirty
    self.auto_increment = None
    self.composite_key = False
    self.rel = {
        
    }
    self.reverse_rel = {
        
    }
    for (key, value) in kwargs.items():
        setattr(self, key, value)
    self._additional_keys = set(kwargs.keys())
    if (self.db_table_func and (not self.db_table)):
        self.db_table = self.db_table_func(cls)

dataset/ETHPy150Open coleifer/peewee/peewee.py ModelOptions.__init__/VarMisuse@208/273 `self`->`db_table`