

'''simple docstring'''
from abc import ABC, abstractmethod
from typing import Optional, Union

from .. import Dataset, DatasetDict, Features, IterableDataset, IterableDatasetDict, NamedSplit
from ..utils.typing import NestedDataStructureLike, PathLike







class 							A__   (	A__  ):





  def __init__(		self				:     Dict							, _a				:     Optional[NestedDataStructureLike[PathLike]] = None							, _a				:     Optional[NamedSplit] = None							, _a				:     Optional[Features] = None							, _a				:     str = None							, _a				:     bool = False							, _a				:     bool = False							, _a				:     Optional[int] = None							, **_a				:     Union[str, Any]							, )     ->   str:





       '''simple docstring'''






       _SCREAMING_SNAKE_CASE							   =path_or_paths
       _SCREAMING_SNAKE_CASE							   =split if split or isinstance(_a							, _a			) else 'train'
       _SCREAMING_SNAKE_CASE							   =features
       _SCREAMING_SNAKE_CASE							   =cache_dir
       _SCREAMING_SNAKE_CASE							   =keep_in_memory
       _SCREAMING_SNAKE_CASE							   =streaming
       _SCREAMING_SNAKE_CASE							   =num_proc
       _SCREAMING_SNAKE_CASE							   =kwargs





  @abstractmethod
  def 						A  (		self				:     Optional[int]			)     ->   Union[Dataset, DatasetDict, IterableDataset, IterableDatasetDict]:





       '''simple docstring'''






       pass







class 							A__   (	A__  ):





  def __init__(		self				:     Union[str, Any]							, _a				:     Optional[Features] = None							, _a				:     str = None							, _a				:     bool = False							, _a				:     bool = False							, _a				:     Optional[int] = None							, **_a				:     Tuple							, )     ->   Dict:





       '''simple docstring'''






       _SCREAMING_SNAKE_CASE							   =features
       _SCREAMING_SNAKE_CASE							   =cache_dir
       _SCREAMING_SNAKE_CASE							   =keep_in_memory
       _SCREAMING_SNAKE_CASE							   =streaming
       _SCREAMING_SNAKE_CASE							   =num_proc
       _SCREAMING_SNAKE_CASE							   =kwargs





  @abstractmethod
  def 						A  (		self				:     List[str]			)     ->   Union[Dataset, IterableDataset]:





       '''simple docstring'''






       pass



'''simple docstring'''
def 	_lowerCAmelCase (						_UpperCamelCase						:					float							,			_UpperCamelCase						:					float    )				->      float:
     """simple docstring"""




     if mass < 0:
          raise ValueError('The mass of a body cannot be negative'    )
     return 0.5 * mass * abs(_UpperCamelCase    ) * abs(_UpperCamelCase    )


if __name__ == "__main__":
     import doctest

     doctest.testmod(verbose=True)
