Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
super(ColorInfo, self).__init__(**kwargs)
self.dominant_color_foreground = kwargs.get('dominant_color_foreground', None)
self.dominant_color_background = kwargs.get('dominant_color_background', None)
self.dominant_colors = kwargs.get('dominant_colors', None)
self.accent_color = kwargs.get('accent_color', None)
self.is_bw_img = kwargs.get('is_bw_img', None)