






import warnings

from ..trainer import Trainer
from ..utils import logging


lowerCamelCase     :							Union[str, Any]    =logging.get_logger(__name__)





class       __a  (   A__	):







 def __init__(		self :       str							,       SCREAMING_SNAKE_CASE :       Union[str, Any]=None							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      warnings.warn(
          "`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` "
          "instead."							,       SCREAMING_SNAKE_CASE							,       )
      super().__init__(args=SCREAMING_SNAKE_CASE							,       **SCREAMING_SNAKE_CASE						)







import re







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase      )			->     bool:
     UpperCamelCase__      :       Union[str, Any]	    =  re.compile(
         R"^(?:0|94|\+94|0{2}94)" R"7(0|1|2|4|5|6|7|8)" R"(-| |)" R"\d{7}$"      )

     return bool(re.search(__lowerCAmelCase ,   __lowerCAmelCase      )      )


if __name__ == "__main__":
 lowerCamelCase     :							Union[str, Any]    ='''0094702343221'''

 print(is_sri_lankan_phone_number(phone))