Skip to content

feat: Callable Pipelines#41

Merged
AttAditya merged 1 commit into
mainfrom
feat/callable-pipelines
Jun 1, 2026
Merged

feat: Callable Pipelines#41
AttAditya merged 1 commit into
mainfrom
feat/callable-pipelines

Conversation

@AttAditya

@AttAditya AttAditya commented May 22, 2026

Copy link
Copy Markdown
Owner

LangEx 0.4.5

Release Summary

  • Update Type: Minor
  • Update Version: [0.4.5]
  • Breaking Changes: No
  • Backwards Compatibility: NA
  • Target Issue: None

Changelog

  • Add callable interface to Pipeline
    • Implemented __call__ method that forwards to run
    • Enables simple invocation: pipeline(initial_value)
    • Enhances usability by allowing pipelines to be used like functions

Updated Library Highlights

Callable Pipeline

# Example: Using the new __call__ method
pipeline = Pipeline()
result = pipeline("input data")  # Directly execute the pipeline

Future Plans

  • No significant updates planned

Notes

  • No additional notes

Git Diff:
diff --git a/langex/pipelines/handler.py b/langex/pipelines/handler.py
index c6b9ed9..2c46838 100644
--- a/langex/pipelines/handler.py
+++ b/langex/pipelines/handler.py
@@
class Pipeline:
def or(self, value):
return self.rshift(value)

  • def call(self, initial_value=None):
  • return self.run(initial_value)

@github-actions

Copy link
Copy Markdown

🏷️ Generating labels using AI for commit d0a3706e5011ffed0d3cf0e5f8d721bb52fa98a9...

@github-actions

Copy link
Copy Markdown

🔍 Generating PR summary using AI for commit d0a3706e5011ffed0d3cf0e5f8d721bb52fa98a9...

@github-actions github-actions Bot added the FEAT New feature and functionality label May 22, 2026
@github-actions

Copy link
Copy Markdown

🏷️ Labels added: FEAT (commit d0a3706e5011ffed0d3cf0e5f8d721bb52fa98a9)

@github-actions

Copy link
Copy Markdown

✅ PR summary updated using AI for commit d0a3706e5011ffed0d3cf0e5f8d721bb52fa98a9.

@AttAditya
AttAditya merged commit 5a2440d into main Jun 1, 2026
3 checks passed
@AttAditya
AttAditya deleted the feat/callable-pipelines branch June 1, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FEAT New feature and functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant