You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update udsource partitions method to include total partitions #334
changed the title [-]Update udsource partitions method to include total partitions #224[/-][+]Update udsource partitions method to include total partitions[/+]on Mar 13, 2026
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?
Activity
[-]Update udsource partitions method to include total partitions #224[/-][+]Update udsource partitions method to include total partitions[/+]IlyasFardaouix commentedon Mar 18, 2026
I've taken a look at the PR and the updated
udsource_partitionsmethod inpynumaflow/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 theudsource_partitionsmethod is called with an empty list of partitions. In that scenario, thetotal_partitionsvariable would be set to 0, which might not be the expected behavior. Could you clarify how you'd like to handle this edge case?vaibhavtiwari33 commentedon Mar 26, 2026
Could you please create a PR to share your changes.