refactor(tests): use HfApi.update_repo_settings to simplify gated dataset test setup (#3206)
* Update utils.py
* Update hub.py
* Update hub.py
* Update utils.py
* Update hub.py
* Update hub.py
* Update utils.py
15-7-25
* Update hub.py
* Update hub.py
* Update utils.py
cast the value to the expected type using typing.cast.
* Update hub.py
cast the value to the expected type using typing.cast.
* Update hub.py
cast the value to the expected type using typing.cast.