You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a29324a
Browse filesBrowse the repository at this point in the historyBrowse files
-`dw/workflow.py`: Main orchestrator - loads JSON workflows, handles variable substitution, manages step execution (the run's phases live in `dw/workflow_run.py`, validation in `dw/validation.py`)
-`dw/pipeline_processors/pipeline.py`: Manages HuggingFace pipeline loading, configuration, and shared components
27
+
-`dw/pipeline_processors/pipeline.py`: The `Pipeline` class - HuggingFace pipeline loading and shared components (placement, component loading, adapters and progress reporting are beside it in `placement.py`, `components.py`, `adapters.py`, `progress.py`)
28
28
-`dw/tasks/task.py`: Executes utility tasks (image processing, QR codes, data gathering)
29
29
-`dw/previous_results.py`: Handles cross-step data flow using cartesian products of previous results
30
30
@@ -72,7 +72,7 @@ The REPL uses a **persistent worker subprocess** for workflow execution to maint
**Adding New Tasks:** Register a handler function in `dw/tasks/task.py` with the `@register_command("name")` decorator; `Task.run()` dispatches to the registry (falling back to image/video processor lookups for unregistered names)
75
-
**Adding Pipeline Types:** Update `workflow_schema.json` and ensure proper component loading in `pipeline.py`
75
+
**Adding Pipeline Types:** Update `workflow_schema.json` and ensure proper component loading in `pipeline_processors/components.py`
76
76
77
77
## Project-Specific Conventions
78
78
@@ -91,13 +91,14 @@ The REPL uses a **persistent worker subprocess** for workflow execution to maint
91
91
92
92
## Security
93
93
94
-
**Critical security module** (`dw/security.py`) provides comprehensive input validation and protection:
94
+
**Critical security modules**: `dw/security.py` provides comprehensive input validation and protection, and `dw/trust.py` gates the trust model for untrusted workflows:
0 commit comments