code: def build_attrs(self, *args, **kwargs):
          "Helper function for building an attribute dictionary."
          self.attrs = self.widget.build_attrs(*args, **kwargs)
          return self.attrf build_attrs(self, *args, **kwargs):
          "Helper function for building an attribute dictionary."
          self.attrs = self.widget.build_attrs(*args, **kwargs)
          return self.attrs
docs: Helper function for building an attribute dictionary.