From 0140acbe0a7f6db9352911a0289cc325eca55a41 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Fri, 29 Oct 2021 11:30:55 -0700 Subject: [PATCH] add common models Signed-off-by: Yee Hing Tong --- flytekit/__init__.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/flytekit/__init__.py b/flytekit/__init__.py index e5c1bd9d78..dbe76db19f 100644 --- a/flytekit/__init__.py +++ b/flytekit/__init__.py @@ -132,6 +132,25 @@ Secret SecurityContext + +Common Flyte IDL Objects +========================= + +.. autosummary:: + :nosignatures: + :template: custom.rst + :toctree: generated/ + + AuthRole + Labels + Annotations + WorkflowExecutionPhase + Blob + BlobMetadata + Literal + Scalar + LiteralType + BlobType """ import sys @@ -162,6 +181,10 @@ from flytekit.core.workflow import WorkflowFailurePolicy, reference_workflow, workflow from flytekit.extras.persistence import GCSPersistence, HttpPersistence, S3Persistence from flytekit.loggers import logger +from flytekit.models.admin.common import Annotations, AuthRole, Labels +from flytekit.models.core.execution import WorkflowExecutionPhase +from flytekit.models.core.literals import Blob, BlobMetadata, Literal, Scalar +from flytekit.models.core.types import BlobType, LiteralType from flytekit.types import directory, file, schema __version__ = "0.0.0+develop"