code: def _set_fields(self):
          
          self.fields = []
          self.required_input = []
          for member_name, member_object in inspect.getmembers(self.__class__):
              if inspect.isdatadescriptor(member_object) and not member_name.startswith("__"):
                  self.fields.append(member_name)
                  if member_object.required_input:
                      self.required_input.append(member_name)
docs: Initialize the fields for data caching.