def values(self, attributes: Dict[(str, 'SimpleAttribMaker')], required_fields: List[str], instance_maker_config: InstanceMakerConfig) -> AttributesDict:
    vs = {'type': Optional[self.tpe], 'eq': False, 'metadata': {'base_type': self.tpe, 'name': self.name}, 'repr': self.repr}
    if self.default:
        vs['default'] = self.default
        vs['type'] = self.tpe
    elif self.factory:
        vs['factory'] = self.factory
        vs['type'] = self.tpe
    return vs
def values(self, attributes: Dict[(str, 'SimpleAttribMaker')], required_fields: List[str], instance_maker_config: InstanceMakerConfig) -> AttributesDict:
    vs = {'type': Optional[self.tpe], 'eq': False, 'metadata': {'base_type': self.tpe, 'name': self.name}, 'repr': self.repr}
    if self.default:
        vs['default'] = self.default
        vs['type'] = self.tpe
    elif self.factory:
        vs['factory'] = self.factory
        vs['type'] = self.tpe
    return vs