Files
openrouter-python-sdk-retry…/src/openrouter/components/bashservertoolenvironment.py
T
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
0f116c9792 chore: 🐝 Update SDK - Generate 0.9.2 (#205)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-06-11 12:10:31 -04:00

33 lines
1.1 KiB
Python

"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from .containerautoenvironment import (
ContainerAutoEnvironment,
ContainerAutoEnvironmentTypedDict,
)
from .containerreferenceenvironment import (
ContainerReferenceEnvironment,
ContainerReferenceEnvironmentTypedDict,
)
from openrouter.utils import get_discriminator
from pydantic import Discriminator, Tag
from typing import Union
from typing_extensions import Annotated, TypeAliasType
BashServerToolEnvironmentTypedDict = TypeAliasType(
"BashServerToolEnvironmentTypedDict",
Union[ContainerAutoEnvironmentTypedDict, ContainerReferenceEnvironmentTypedDict],
)
r"""Execution environment for the bash server tool."""
BashServerToolEnvironment = Annotated[
Union[
Annotated[ContainerAutoEnvironment, Tag("container_auto")],
Annotated[ContainerReferenceEnvironment, Tag("container_reference")],
],
Discriminator(lambda m: get_discriminator(m, "type", "type")),
]
r"""Execution environment for the bash server tool."""