* Studio: validate Hugging Face tokens before use * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Studio: keep token validation failures non-blocking * Studio: harden Hugging Face token preflight * Studio: make token validation effect lint-safe --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Lee Jackson <130007945+Imagineer99@users.noreply.github.com>
14 lines
461 B
Python
14 lines
461 B
Python
# SPDX-License-Identifier: AGPL-3.0-only
|
|
# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
|
|
|
|
"""Hub routers exposed at /api/hub/* and /api/hub/datasets/*."""
|
|
|
|
from hub.routes.inventory import router as inventory_router
|
|
from hub.routes.datasets import router as datasets_router
|
|
from hub.routes.token import router as token_router
|
|
|
|
__all__ = [
|
|
"inventory_router",
|
|
"datasets_router",
|
|
"token_router",
|
|
]
|