Skip to content

Conversation

@blainekasten
Copy link
Contributor

Before we can release #199 - we need to move the file upload logic into the files upload code. Since we've removed the file uploads from the typescript and python generated code, we are now able to handle this ourselves.

I used cursor to convert the current implementation of the file checks into typescript and include in this PR. I additionally copied their tests and moved them here as well.

@blainekasten blainekasten requested a review from Nutlope November 17, 2025 18:50
@blainekasten blainekasten force-pushed the blaine/eng-48225-update-file-upload-setup-to-not-be-controlled-by-stainless branch from b8da47e to 2b16260 Compare November 17, 2025 18:50
process.stdout.cursorTo(0);
process.stdout.write(progressBar, () => {});
await sleep(2000);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe this was a bad port. The displayProgress from the Python library is primarily for their CLI. The SDK itself should not be outputing to stdout.

@blainekasten blainekasten force-pushed the blaine/eng-48225-update-file-upload-setup-to-not-be-controlled-by-stainless branch 4 times, most recently from fdf80b2 to 2f85fbb Compare November 17, 2025 20:52
@blainekasten blainekasten requested a review from zainhas November 17, 2025 20:58
@blainekasten blainekasten force-pushed the blaine/eng-48225-update-file-upload-setup-to-not-be-controlled-by-stainless branch from 273f4fe to 8774e72 Compare November 17, 2025 21:57
@blainekasten blainekasten merged commit 9a19707 into next Nov 17, 2025
7 checks passed
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