forked from kubeflow/pipelines-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
21 lines (17 loc) · 753 Bytes
/
__init__.py
File metadata and controls
21 lines (17 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""Kubeflow Pipelines Components
A collection of reusable components and pipelines for Kubeflow Pipelines.
Usage:
from kfp_components import components, pipelines
from kfp_components.components import training
from kfp_components.pipelines import evaluation
"""
# Import submodules to enable the convenient import patterns shown above
# These imports ensure reliable access to submodules and better IDE support
try:
# Try relative imports first (works when installed as package)
from . import components, pipelines
except ImportError:
# Fallback to absolute imports (works during testing with sys.path modification)
import components # noqa: F401
import pipelines # noqa: F401
__all__ = ["components", "pipelines"]