Skip to content

Conversation

@sid-rl
Copy link
Contributor

@sid-rl sid-rl commented Nov 20, 2025

We now have 3 top level pages within the docs: Synchronous SDK, Asynchronous SDK and Type Reference. Within each of the SDK pages, we have the core resource manager classes, and subpages for each of the resource classes. The type reference is also organized by type of parameter (core request options vs devbox params vs blueprint params, etc.)

@sid-rl sid-rl requested review from dines-rl and jrvb-rl November 20, 2025 02:53
Copy link
Contributor

@jrvb-rl jrvb-rl left a comment

Choose a reason for hiding this comment

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

This looks great! I like the organization and overall structure; very easy to find the main parts of the SDK.

~~~~~~~~~~~~~~~~~~~~
--------------------

These TypeDicts define options for streaming, timeouts, polling, and other request configuration.
Copy link
Contributor

Choose a reason for hiding this comment

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

From my read, these are more like low-level plumbing options? Maybe put these at the bottom instead? Or are these options that can be added to any request? If so, let's make that more clear in the description.


These are the primary TypedDict classes used in SDK methods, combining multiple
parameter types and options.
This page documents all TypeDict parameter types used throughout the SDK.
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably good to provide a bit more context. Maybe something like this?

"The Runloop Python SDK uses TypeDict objects for configuration parameters to the various API calls. This page documents the parameter objects used throughout the SDK."


Devbox Parameters
~~~~~~~~~~~~~~~~~
-----------------
Copy link
Contributor

Choose a reason for hiding this comment

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

Since Devbox is also an object type, the header "Devbox Parameters" sounds like these would be constructor params. Maybe better as "Devbox Method Parameters" or some such?


These TypeDicts define parameters for devbox creation, execution, file operations, network tunnels, and snapshots.

Creation Parameters
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the distinction between CreateParams and ExtraCreateParams? And why the overlap? I'm guessing as a user I can just use any of the params from either of these in the runloop.devbox.create() call, in which case splitting them here is a bit odd. If we need to do this due to some wonky implementation detail, let's add a bit of explanation at least as to why, and show how these are used?

Oh - and it looks like the only diff in the list of params is that the 'Extra' version has fewer? (it's missing the blueprint and snapshot params)

@sid-rl sid-rl merged commit 6af891e into main Nov 20, 2025
7 checks passed
@sid-rl sid-rl deleted the siddarth/docs branch November 20, 2025 23:12
@stainless-app stainless-app bot mentioned this pull request Nov 20, 2025
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