

def __init__(self, attrs=None):
    widgets = (ImagePreviewFileInput(attrs={
        'class': 'file-chooser',
    }), HiddenInput(attrs={
        'class': 'ppoi-input',
    }))
    super(ImagePreviewWidget, self).__init__(widgets, attrs)

dataset/ETHPy150Open mirumee/saleor/saleor/dashboard/product/widgets.py ImagePreviewWidget.__init__/original