

'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


UpperCAmelCase					 =	logging.get_logger(__name__)


class 	lowerCAmelCase  (   A ):







       def __init__(				self      :			Optional[int]    ,   *__lowercase      :			Union[str, Any]    ,   **__lowercase      :			Optional[Any]   ):







            """simple docstring"""







            warnings.warn(
                'The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
                ' Please use SegformerImageProcessor instead.'    ,   __lowercase    ,   )
            super().__init__(*__lowercase    ,   **__lowercase   )





'''simple docstring'''

from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Features, Value
from .base import TaskTemplate


@dataclass(frozen=A )
class 	lowerCAmelCase  (   A ):
       # `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
       lowerCAmelCase_												=			field(default="summarization" ,      metadata={"include_in_asdict_even_if_is_default": True} )
       lowerCAmelCase_												=			Features({"text": Value("string" )} )
       lowerCAmelCase_												=			Features({"summary": Value("string" )} )
       lowerCAmelCase_												=			"text"
       lowerCAmelCase_												=			"summary"







       @property
       def       snake_case (				self      :			int   ):







            """simple docstring"""







            return {self.text_column: "text", self.summary_column: "summary"}


