code: def get_context(self, name, value, attrs):
          
          context = {}
          context['widget'] = {
              'name': name,
              'type': 'text',
              'is_hidden': self.is_hidden,
              'required': self.is_required,
              'value': self.format_value(value),
              'attrs': {**self.attrs, **(attrs or {})},
              'template_name': self.template_name,
          }
          return context
docs: Missing method of django.forms.widgets.Widget class.