Skip to content

Conversation

@mitchhs12
Copy link

@mitchhs12 mitchhs12 commented Jan 9, 2026

Summary

Adds get_sync_progress() method to the Python Admin API client to fetch sync progress for a dataset version.

Changes

Added SyncProgressResponse and TableSyncProgress Pydantic models
Added DatasetsClient.get_sync_progress(namespace, name, revision) method

Usage

from amp.admin import AdminClient

client = AdminClient('http://localhost:1610')
progress = client.datasets.get_sync_progress('_', 'eth_firehose', 'latest')

for table in progress.tables:
    print(f'{table.table_name}: block {table.current_block}, status: {table.job_status}')

Reference:

Implements Python client for edgeandnode/amp#1528 (sync-progress Admin API endpoint)

@mitchhs12 mitchhs12 requested a review from fordN January 9, 2026 18:11
@mitchhs12 mitchhs12 self-assigned this Jan 9, 2026
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.

2 participants