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

Commits on Oct 8, 2024

  1. 🚚 refactor: rename PipelineCallable to StageCallable and convert to P…

    …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.
    loureirorg committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b036348 View commit details
    Browse the repository at this point in the history
  2. ♻️ refactor: split TPayload into T_in and T_out for input/output typing

    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.
    loureirorg committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a5f83d0 View commit details
    Browse the repository at this point in the history
  3. ⚠️ chore: update minimum Python version to 3.13 for TypeVar default s…

    …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 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b106e69 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5538ad View commit details
    Browse the repository at this point in the history