Skip to content

Update udsource partitions method to include total partitions #334

Closed

Description

Activity

  1. added
    enhancement
    on Mar 13, 2026
  2. changed the title [-]Update udsource partitions method to include total partitions #224[/-] [+]Update udsource partitions method to include total partitions[/+] on Mar 13, 2026
  3. IlyasFardaouix commented on Mar 18, 2026

    @IlyasFardaouix

    I've taken a look at the PR and the updated udsource_partitions method in pynumaflow/shared/asynciter.py. It seems like the method is now correctly calculating the total number of partitions. However, I'm a bit concerned about the potential edge case where the udsource_partitions method is called with an empty list of partitions. In that scenario, the total_partitions variable would be set to 0, which might not be the expected behavior. Could you clarify how you'd like to handle this edge case?

  4. vaibhavtiwari33 commented on Mar 26, 2026

    @vaibhavtiwari33
    Contributor

    Could you please create a PR to share your changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions