

"""simple docstring"""




from urllib.parse import quote

import pytest

from datasets.utils.hub import hf_hub_url

@pytest.mark.parametrize("""repo_id"""		,					["""canonical_dataset_name""", """org-name/dataset-name"""]     )
@pytest.mark.parametrize("""path"""		,					["""filename.csv""", """filename with blanks.csv"""]     )
@pytest.mark.parametrize("""revision"""		,					[None, """v2"""]     )
def 						A							(  snake_case__		,					snake_case__		,					snake_case__     ):




			'''simple docstring'''


			SCREAMING_SNAKE_CASE__										=   hf_hub_url(repo_id=snake_case__		,					path=snake_case__		,					revision=snake_case__     )
			assert url == f"""https://huggingface.co/datasets/{repo_id}/resolve/{revision or "main"}/{quote(snake_case__     )}"""





"""simple docstring"""




# flake8: noqa
# Lint as: python3
A_				:      List[str]           =			[
    "VerificationMode",
    "Version",
    "disable_progress_bar",
    "enable_progress_bar",
    "is_progress_bar_enabled",
    "experimental",
]

from .info_utils import VerificationMode
from .logging import disable_progress_bar, enable_progress_bar, is_progress_bar_enabled
from .version import Version
from .experimental import experimental


