-
Notifications
You must be signed in to change notification settings - Fork 533
Sandboxes list v2 #667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sandboxes list v2 #667
Conversation
🦋 Changeset detectedLatest commit: 0490f39 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ps. tests pass on local but CI on beta branch is not setup yet |
Please export the paginator types. I would also name the |
Can you make it so that the |
@mishushakov Merge this into |
@ValentaTomas can't merge to main, because tests will fail (there's no persistence in prod SDK) |
Export top-level? eg. from e2b import AsyncSandboxPaginator
This will just paginate every sandbox before cursor timestamp disregarding the filter. The query and limit are not stored in the cursor, only sandboxId + timestamp. Right now, you cannot pass any parameters when you call |
Yes, as in the example you provided. |
Oh, I mistunderstood then with query being part of the cursor. Ok, you can keep it as it is. |
Got it. |
Example usage:
JavaScript
Python (Sync)
Python (Async)