move every interface to top level and get rid of sdk client grouping (#2490)

This commit is contained in:
Shuchang Zheng
2025-05-27 23:38:14 -07:00
committed by GitHub
parent 1e16559141
commit abab86619c
33 changed files with 3358 additions and 3563 deletions

View File

@@ -47,6 +47,7 @@ from .types import (
ContextParameterSource_Workflow,
ContextParameterValue,
ContextParameterYaml,
CreateCredentialRequestCredential,
CredentialParameter,
CredentialParameterYaml,
CredentialResponse,
@@ -138,6 +139,12 @@ from .types import (
ForLoopBlockYamlLoopBlocksItem_UploadToS3,
ForLoopBlockYamlLoopBlocksItem_Validation,
ForLoopBlockYamlLoopBlocksItem_Wait,
GetRunResponse,
GetRunResponse_AnthropicCua,
GetRunResponse_OpenaiCua,
GetRunResponse_TaskV1,
GetRunResponse_TaskV2,
GetRunResponse_WorkflowRun,
HttpValidationError,
LoginBlock,
LoginBlockDataSchema,
@@ -319,17 +326,7 @@ from .types import (
WorkflowStatus,
)
from .errors import BadRequestError, ForbiddenError, NotFoundError, UnprocessableEntityError
from . import agent, artifacts, browser_session, credentials, workflows
from .agent import (
AgentGetRunResponse,
AgentGetRunResponse_AnthropicCua,
AgentGetRunResponse_OpenaiCua,
AgentGetRunResponse_TaskV1,
AgentGetRunResponse_TaskV2,
AgentGetRunResponse_WorkflowRun,
)
from .client import AsyncSkyvern, Skyvern
from .credentials import CreateCredentialRequestCredential
from .environment import SkyvernEnvironment
from .version import __version__
@@ -346,12 +343,6 @@ __all__ = [
"ActionBlockParametersItem_Output",
"ActionBlockParametersItem_Workflow",
"ActionBlockYaml",
"AgentGetRunResponse",
"AgentGetRunResponse_AnthropicCua",
"AgentGetRunResponse_OpenaiCua",
"AgentGetRunResponse_TaskV1",
"AgentGetRunResponse_TaskV2",
"AgentGetRunResponse_WorkflowRun",
"Artifact",
"ArtifactType",
"AsyncSkyvern",
@@ -481,6 +472,12 @@ __all__ = [
"ForLoopBlockYamlLoopBlocksItem_Validation",
"ForLoopBlockYamlLoopBlocksItem_Wait",
"ForbiddenError",
"GetRunResponse",
"GetRunResponse_AnthropicCua",
"GetRunResponse_OpenaiCua",
"GetRunResponse_TaskV1",
"GetRunResponse_TaskV2",
"GetRunResponse_WorkflowRun",
"HttpValidationError",
"LoginBlock",
"LoginBlockDataSchema",
@@ -665,9 +662,4 @@ __all__ = [
"WorkflowRunResponseOutput",
"WorkflowStatus",
"__version__",
"agent",
"artifacts",
"browser_session",
"credentials",
"workflows",
]