code: def get_context(self, name, value, attrs):
          
          context = super().get_context(
              name, value, attrs)
          context['widget']['attrs']['dp_config'] = json_dumps(self.config)
          return context
docs: Return widget context dictionary.