Skip to content

Expose context from the orchestrator to the components #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Mar 20, 2025

Conversation

stellasia
Copy link
Contributor

@stellasia stellasia commented Mar 11, 2025

Description

  • Needed to refactor the pipeline.types file to prevent circular imports => created a types module instead: many of the changes in this PR are to update the import accordingly
  • Added run_with_context method to the Component interface that takes as first argument a RunContext that contains the run_id and a notifier function that can be used to call the pipeline's event notifier and send events about component status.

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation update
  • Project configuration change

Complexity

Complexity: Medium

How Has This Been Tested?

  • Unit tests
  • E2E tests
  • Manual tests

Checklist

The following requirements should have been met (depending on the changes in the branch):

  • Documentation has been updated
  • Unit tests have been updated
  • E2E tests have been updated
  • Examples have been updated
  • New files have copyright header
  • CLA (https://neo4j.com/developer/cla/) has been signed
  • CHANGELOG.md updated if appropriate

@stellasia stellasia force-pushed the feature/pipeline-streaming branch from 5af3291 to 3b2e1e1 Compare March 11, 2025 15:10
@stellasia stellasia marked this pull request as ready for review March 11, 2025 15:10
@stellasia stellasia requested a review from a team as a code owner March 11, 2025 15:10
@stellasia stellasia force-pushed the feature/pipeline-streaming branch from 014dc32 to 8d9c97b Compare March 13, 2025 08:11
@stellasia stellasia mentioned this pull request Mar 13, 2025
15 tasks
@stellasia stellasia merged commit e99ebb0 into neo4j:main Mar 20, 2025
7 checks passed
@stellasia stellasia deleted the feature/pipeline-streaming branch April 15, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants