fix: harden Python workflow client boundary
This commit is contained in:
@@ -5,22 +5,6 @@ from wf_platform import CapabilityRef, Page
|
||||
from .app import App
|
||||
from .authoring import EditableWorkflow
|
||||
from .capabilities import CapabilityResult, CapabilitySummary, RemoteCapability
|
||||
from .codec import (
|
||||
DecodedRunResult,
|
||||
DecodedTracePage,
|
||||
decode_capabilities_page,
|
||||
decode_capability_call,
|
||||
decode_capability_diagnostics,
|
||||
decode_capability_inspect,
|
||||
decode_dependency_diagnostics,
|
||||
decode_deployment,
|
||||
decode_deployment_validation,
|
||||
decode_deployments,
|
||||
decode_run_result,
|
||||
decode_trace_result,
|
||||
decode_validate_artifact_plan,
|
||||
decode_workflow_artifact,
|
||||
)
|
||||
from .deployments import Deployment, DeploymentValidation
|
||||
from .errors import (
|
||||
ArtifactNotFound,
|
||||
@@ -35,7 +19,6 @@ from .errors import (
|
||||
ValidationFailed,
|
||||
WorkflowClientError,
|
||||
)
|
||||
from .protocols import WorkflowClientPort
|
||||
from .runs import Run, TracePage
|
||||
from .workflows import (
|
||||
ArtifactRef,
|
||||
@@ -54,8 +37,6 @@ __all__ = [
|
||||
"CapabilityRef",
|
||||
"CapabilityResult",
|
||||
"CapabilitySummary",
|
||||
"DecodedRunResult",
|
||||
"DecodedTracePage",
|
||||
"Diagnostic",
|
||||
"DeploymentNotRunnable",
|
||||
"DeploymentRequired",
|
||||
@@ -70,22 +51,9 @@ __all__ = [
|
||||
"TransportError",
|
||||
"ValidationFailed",
|
||||
"WorkflowClientError",
|
||||
"WorkflowClientPort",
|
||||
"EditableWorkflow",
|
||||
"WorkflowArtifact",
|
||||
"WorkflowDiagnostic",
|
||||
"WorkflowValidation",
|
||||
"TracePage",
|
||||
"decode_capabilities_page",
|
||||
"decode_capability_call",
|
||||
"decode_capability_diagnostics",
|
||||
"decode_capability_inspect",
|
||||
"decode_dependency_diagnostics",
|
||||
"decode_deployment_validation",
|
||||
"decode_deployments",
|
||||
"decode_deployment",
|
||||
"decode_run_result",
|
||||
"decode_trace_result",
|
||||
"decode_validate_artifact_plan",
|
||||
"decode_workflow_artifact",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user