Repository navigation
python(feat): ENG-16878: processed channels - #881
Closed
David-sift wants to merge 1 commit into
Closed
David-sift wants to merge 1 commit into
David-sift wants to merge 1 commit into
Conversation
Contributor
|
Python docs preview: https://sift-stack.github.io/sift/python/pr-881/ Deployed from |
David-sift
force-pushed
the
eng-16878-python-client-work-for-uploading-processed
branch
from
November 11, 2026 19:11
0bfce2f to
448283a
Compare
David-sift
deleted the
eng-16878-python-client-work-for-uploading-processed
branch
November 11, 2026 19:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎫 ENG-16878 🎫
Description
Adds
client.processed_channel, which uploads a DataFrame to a run as processed channels. Each column other than the time becomes one channel on the asset.wait=Falsereturns a handle withwait_until_complete().DatetimeIndex, or from a column named withtime_column=.codedefaults to the calling script's path, its git commit and a hash of the file.list_writes()andget_write()read the write history.ProcessedChannelRequestError, which carries the gRPC code and the server's message. Writes that fail ingestion raiseProcessedChannelUploadError.The API is experimental and raises a
SiftExperimentalWarning. The service's proto is still marked unstable and isn't published to this repo, so the client calls its REST endpoints. This is the firstsift_clientAPI backed by an unstable proto. Once the proto is published, moving to gRPC stubs only touchesProcessedChannelsLowLevelClient.Requirements:
parquetextra (sift-stack-py[parquet]).processed-channelsflag is enabledVerification
just test: 1716 passed. The one failure,sift_py/data_import/_csv_test.py::test_simple_upload_invalid_csv, also fails onmain.codedefaults (including worktrees and packed refs), and the low-level REST mapping and errors. They also cover blocking and non-blocking uploads through the sync client.ruff check,ruff format --check,mypy(including--platform=win32) andpyrightare clean, and the stubs are regenerated withjust gen-stubs.