code: def get_all_fields(self):
          
          return {
              name: {
                  'name': name,
                  'label': field['label'],
              }
              for name, field in self.get_model_config().get_list_fields().items()
          }
docs: Get all aviable fields