Skip to content
Open
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
13 changes: 1 addition & 12 deletions .importlinter
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
root_package = bioetl
include_external_packages = True

[importlinter:contract:layers]
name = Layer dependencies (Ports & Adapters)
type = layers
layers =
bioetl.application
bioetl.domain
bioetl.infrastructure
containers =
bioetl

[importlinter:contract:domain-independence]
name = Domain layer independence
type = forbidden
Expand All @@ -32,5 +22,4 @@ forbidden_modules =
bioetl.infrastructure.locking
bioetl.infrastructure.checkpoint
bioetl.infrastructure.quarantine
ignore_imports =
bioetl.application.pipelines.chembl_activity -> bioetl.infrastructure.*
bioetl.infrastructure.factories
19 changes: 19 additions & 0 deletions src/bioetl/application/pipeline/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
"""Pipeline components and base classes."""

from bioetl.application.pipeline.base import (
BasePipeline,
PipelineShutdownError,
run_pipeline_flow,
)
from bioetl.application.pipeline.checkpoint_manager import CheckpointManager
from bioetl.application.pipeline.lock_manager import LockManager, PipelineLockLostError
from bioetl.application.pipeline.record_processor import RecordProcessor

__all__ = [
"BasePipeline",
"CheckpointManager",
"LockManager",
"PipelineLockLostError",
"PipelineShutdownError",
"RecordProcessor",
"run_pipeline_flow",
]
Loading
Loading