





from typing import Optional
from urllib.parse import quote

import huggingface_hub as hfh
from packaging import version






def 				SCREAMING_SNAKE_CASE__							(       UpperCamelCase__:							str					,   UpperCamelCase__:							str					,   UpperCamelCase__:							Optional[str] = None    ):
		if version.parse(hfh.__version__    ).release < version.parse("""0.11.0"""    ).release:
				# old versions of hfh don't url-encode the file path
				SCREAMING_SNAKE_CASE__			=      quote(UpperCamelCase__    )
		return hfh.hf_hub_url(UpperCamelCase__					,   UpperCamelCase__					,   repo_type="""dataset"""					,   revision=UpperCamelCase__    )






import warnings
from functools import wraps
from typing import Callable






def 				SCREAMING_SNAKE_CASE__							(       UpperCamelCase__:							Callable    ):

		@wraps(UpperCamelCase__    )
		def _inner_fn(*UpperCamelCase__:							Dict					,   **UpperCamelCase__:							Any    ):
				warnings.warn(
				    (f'''\'{fn.__name__}\' is experimental and might be subject to breaking changes in the future.''')					,   UpperCamelCase__					,   )
				return fn(*UpperCamelCase__					,   **UpperCamelCase__    )

		return _inner_fn