



'''simple docstring'''


from collections.abc import Iterable
from typing import Generic, TypeVar

_lowerCamelCase	:       int      	=	TypeVar("_T")

class  SCREAMING_SNAKE_CASE (  Generic[_T]		):






    """simple docstring"""





    def __init__(  self      :					str  ,						UpperCamelCase__      :					Iterable[_T] | None = None ):


       """simple docstring"""







       UpperCamelCase					=  list(iterable or [] )
       UpperCamelCase					=  []






    def __len__(  self      :					Optional[int] ):


       """simple docstring"""







       return len(self._stacka ) + len(self._stacka )






    def __repr__(  self      :					Optional[Any] ):


       """simple docstring"""







       return f"""Queue({tuple(self._stacka[::-1] + self._stacka )})"""






    def  A       (  self      :					List[Any]  ,						UpperCamelCase__      :					_T ):


       """simple docstring"""







       self._stacka.append(UpperCamelCase__ )






    def  A       (  self      :					List[Any] ):


       """simple docstring"""







       UpperCamelCase					=  self._stacka.pop
       UpperCamelCase					=  self._stacka.append

       if not self._stacka:
          while self._stacka:
             stacka_append(stacka_pop() )

       if not self._stacka:
          raise IndexError('Queue is empty' )
       return self._stacka.pop()


if __name__ == "__main__":
   from doctest import testmod

   testmod()






'''simple docstring'''


import warnings

from ...utils import logging
from .image_processing_chinese_clip import ChineseCLIPImageProcessor


_lowerCamelCase	:       str      	=	logging.get_logger(__name__)

class  SCREAMING_SNAKE_CASE (  _a		):






    """simple docstring"""





    def __init__(  self      :					Dict  ,						*UpperCamelCase__      :					List[Any]  ,						**UpperCamelCase__      :					List[Any] ):


       """simple docstring"""







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

