def METHOD_NAME(self, key=None, value=None):
    if isinstance(value, TabWrapper):
        value.set_nested(suffix=',')
        if key is None:
            self.add(f'{self._repr(value)}')
        else:
            self.add(f'{key}={self._repr(value)}')
        return value
    else:
        if key is None:
            self.add(f'{self._repr(value)},')
        else:
            self.add(f'{key}={self._repr(value)},')