Skip to content

PUBLICAPI-1053: progress tracker#143

Merged
complynx merged 2 commits intomainfrom
PUBLICAPI-1053_progress_tracker
Feb 6, 2026
Merged

PUBLICAPI-1053: progress tracker#143
complynx merged 2 commits intomainfrom
PUBLICAPI-1053_progress_tracker

Conversation

@complynx
Copy link
Collaborator

@complynx complynx commented Feb 5, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds progress tracker functionality to the SDK's Operation class, enabling clients to monitor long-running operations with work completion estimates, time-based ETAs, and detailed step information.

Changes:

  • Adds CurrentStep class to wrap individual progress tracker steps
  • Adds OperationProgressTracker Protocol to define the tracker interface
  • Implements _ProgressTrackerWrapper with helper methods for calculating work and time fractions
  • Adds Operation.progress_tracker() method to access progress information
  • Updates Operation.__repr__() to include progress information
  • Adds comprehensive test coverage in test_progress_tracker.py
  • Documents the feature with examples in README.md

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
tests/test_progress_tracker.py Comprehensive test coverage for progress tracker functionality including various edge cases
src/nebius/aio/operation.py Core implementation of progress tracker wrappers, helper functions, and Operation integration
README.md User-facing documentation with practical examples of using the progress tracker

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@complynx complynx merged commit 4a49fe5 into main Feb 6, 2026
7 checks passed
@complynx complynx deleted the PUBLICAPI-1053_progress_tracker branch February 6, 2026 10:53
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.

3 participants