Skip to content
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

🚚 refactor: rename PipelineCallable to StageCallable and convert to P… #16

Merged
merged 4 commits into from
Oct 8, 2024

Conversation

loureirorg
Copy link
Contributor

…rotocol

Renamed PipelineCallable to StageCallable for better clarity, as the callable is a stage. Also converted StageCallable from a type definition to a Protocol for enhanced flexibility and type safety.

…rotocol

Renamed `PipelineCallable` to `StageCallable` for better clarity, as the callable is a stage.
Also converted `StageCallable` from a type definition to a `Protocol` for enhanced flexibility and type safety.
Refactored the pipeline to use `T_in` and `T_out` type variables instead of `TPayload`, allowing the definition of distinct input and output types. `T_out` defaults to `T_in`, and `T_in` defaults to `Any`, providing flexibility for typing both input and output stages in the pipeline.
…upport

Increased the minimum required Python version to 3.13 to support the `default` argument in `TypeVar`, ensuring compatibility with the new type definitions in the pipeline.
@loureirorg loureirorg merged commit 6196a07 into main Oct 8, 2024
1 check passed
@loureirorg loureirorg deleted the refactor/rename-pipelinecallable-to-stagecallable branch October 8, 2024 22:40
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.

1 participant