def METHOD_NAME(
    self, datasource_type: str, datasource_id: int, column_name: str
) -> FlaskResponse:
    """Get possible values for a datasource column.
    ---
    get:
      summary: Get possible values for a datasource column
      parameters:
      - in: path
        schema:
          type: string
        name: datasource_type
        description: The type of datasource
      - in: path
        schema:
          type: integer
        name: datasource_id
        description: The id of the datasource
      - in: path
        schema:
          type: string
        name: column_name
        description: The name of the column to get values for
      responses:
        200:
          description: A List of distinct values for the column
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: array
                    items:
                      oneOf:
                        - type: string
                        - type: integer
                        - type: number
                        - type: boolean
                        - type: object
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        403:
          $ref: '#/components/responses/403'
        404:
          $ref: '#/components/responses/404'
        500:
          $ref: '#/components/responses/500'
    """
    try:
        datasource = DatasourceDAO.get_datasource(
            db.session, DatasourceType(datasource_type), datasource_id
        )
        datasource.raise_for_access()
    except ValueError:
        return self.response(
            400, message=f"Invalid datasource type: {datasource_type}"
        )
    except DatasourceTypeNotSupportedError as ex:
        return self.response(400, message=ex.message)
    except DatasourceNotFound as ex:
        return self.response(404, message=ex.message)
    except SupersetSecurityException as ex:
        return self.response(403, message=ex.message)
    row_limit = apply_max_row_limit(app.config["FILTER_SELECT_ROW_LIMIT"])
    try:
        payload = datasource.values_for_column(
            column_name=column_name, limit=row_limit
        )
        return self.response(200, result=payload)
    except NotImplementedError:
        return self.response(
            400,
            message=(
                "Unable to get column values for "
                f"datasource type: {datasource_type}"
            ),
        )