

def clone_base(self, **kwargs):
    inst = type(self)(null=self.null, index=kwargs.index, unique=self.unique, verbose_name=self.verbose_name, help_text=self.help_text, db_column=self.db_column, default=self.default, choices=self.choices, primary_key=self.primary_key, sequence=self.sequence, constraints=self.constraints, schema=self.schema, **kwargs)
    if self._is_bound:
        inst.name = self.name
        inst.model_class = self.model_class
    inst._is_bound = self._is_bound
    return inst

dataset/ETHPy150Open coleifer/peewee/peewee.py Field.clone_base/VarMisuse@28/30 `self`->`kwargs`