Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions orchestrator/modules/operators/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,6 @@ def wrapper(
def load_operators() -> None:
from importlib.metadata import entry_points

import orchestrator.modules.operators.randomwalk # noqa: F401

for operator_plugin in entry_points(group="ado.operators"):
try:
operator_plugin.load()
Expand Down
2 changes: 0 additions & 2 deletions plugins/operators/trim/src/trim/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ def trim(
Returns:
OperationOutput containing the operation resources and metadata
"""
# Lazy import to avoid circular import issues during plugin loading
import orchestrator.modules.operators.randomwalk # noqa: F401 — registers explore.random_walk
from orchestrator.modules.operators.collections import characterize, explore
from orchestrator.modules.operators.randomwalk import (
CustomSamplerConfiguration,
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ Repository = "https://github.com/IBM/ado"
ado = "orchestrator.cli.core.cli:app"
run_experiment = "orchestrator.utilities.run_experiment:main"

[project.entry-points."ado.operators"]
randomwalk = "orchestrator.modules.operators.randomwalk"

[dependency-groups]
dev = [
"black>=25.1.0",
Expand Down
Loading