code: def type(self) -> QuestionType:
      return QuestionType(self.settings["type"])
  
imports: import secrets
  from datetime import datetime
  from typing import Any, List, Optional, Union
  from uuid import UUID
  from sqlalchemy import JSON, ForeignKey, String, Text, UniqueConstraint, and_, sql
  from sqlalchemy import Enum
  from sqlalchemy.engine.default import DefaultExecutionContext
  from sqlalchemy.ext.mutable import MutableDict, MutableList
  from sqlalchemy.orm import Mapped, mapped_column, relationship
  from argilla.server.enums import DatasetStatus, MetadataPropertyType, QuestionType, ResponseStatus, SuggestionType, UserRole
  from argilla.server.models.base import DatabaseModel
  from argilla.server.models.metadata_properties import MetadataPropertySettings
  from argilla.server.models.mixins import inserted_at_current_value
  from argilla.server.models.questions import QuestionSettings
  from argilla.server.pydantic_v1 import parse_obj_as
label_desc: Use image node_id 2 for calling the Question obj's underlying member method code with example usage: obj.type() and returns: QuestionType