hf-hub-query / monty_api /__init__.py
evalstate's picture
evalstate HF Staff
Deploy hf-hub-query after limit and eval cleanup
b100e21 verified
raw
history blame contribute delete
629 Bytes
from __future__ import annotations
from .registry import HELPER_EXTERNALS
def __getattr__(name: str): # pragma: no cover - tiny import shim
if name in {"hf_hub_query", "hf_hub_query_raw", "main"}:
from .query_entrypoints import hf_hub_query, hf_hub_query_raw, main
exports = {
"hf_hub_query": hf_hub_query,
"hf_hub_query_raw": hf_hub_query_raw,
"main": main,
}
return exports[name]
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
__all__ = [
"HELPER_EXTERNALS",
"hf_hub_query",
"hf_hub_query_raw",
"main",
]