mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-02 07:34:45 +08:00
* feat(service): add bearer authorization passthrough Signed-off-by: Derek Carr <decarr@redhat.com> * docs(sdk): add service authorization migration guide Signed-off-by: Derek Carr <decarr@redhat.com> * fix(server): remove stale version import Signed-off-by: Derek Carr <decarr@redhat.com> * docs(upgrade): remove service authorization SDK guide Signed-off-by: Derek Carr <decarr@redhat.com> * fix(e2e): relabel provider readiness TLS mount Signed-off-by: Derek Carr <decarr@redhat.com> * test(e2e): stabilize exposed service routing Signed-off-by: Derek Carr <decarr@redhat.com> * test(e2e): support HTTPS service routing Signed-off-by: Derek Carr <decarr@redhat.com> --------- Signed-off-by: Derek Carr <decarr@redhat.com>
65 lines
1.4 KiB
Python
65 lines
1.4 KiB
Python
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
"""OpenShell - Agent execution and management SDK."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .errors import ErrorInfo, FieldViolation, GatewayError, from_grpc_error
|
|
from .mutations import DeletionOutcome, DeletionResult
|
|
from .sandbox import (
|
|
ClientCredentialsAuth,
|
|
ExecChunk,
|
|
ExecResult,
|
|
Page,
|
|
Pager,
|
|
Sandbox,
|
|
SandboxClient,
|
|
SandboxError,
|
|
SandboxRef,
|
|
SandboxSession,
|
|
SandboxStatusRef,
|
|
SandboxTemplateClient,
|
|
SandboxWorkloadTemplateProvenanceRef,
|
|
ServiceAuthorizationMode,
|
|
ServiceExposure,
|
|
TlsConfig,
|
|
WorkspaceClient,
|
|
WorkspaceRef,
|
|
)
|
|
|
|
try:
|
|
from importlib.metadata import version
|
|
|
|
__version__ = version("openshell")
|
|
except Exception:
|
|
__version__ = "0.0.0"
|
|
|
|
__all__ = [
|
|
"ClientCredentialsAuth",
|
|
"DeletionOutcome",
|
|
"DeletionResult",
|
|
"ErrorInfo",
|
|
"ExecChunk",
|
|
"ExecResult",
|
|
"FieldViolation",
|
|
"GatewayError",
|
|
"Page",
|
|
"Pager",
|
|
"Sandbox",
|
|
"SandboxClient",
|
|
"SandboxError",
|
|
"SandboxRef",
|
|
"SandboxSession",
|
|
"SandboxStatusRef",
|
|
"SandboxTemplateClient",
|
|
"SandboxWorkloadTemplateProvenanceRef",
|
|
"ServiceAuthorizationMode",
|
|
"ServiceExposure",
|
|
"TlsConfig",
|
|
"WorkspaceClient",
|
|
"WorkspaceRef",
|
|
"__version__",
|
|
"from_grpc_error",
|
|
]
|