Commit Graph

172 Commits

Author SHA1 Message Date
Jakub Novak 510d7fd57a Make first retries faster 2024-05-31 16:51:44 +02:00
Jakub Novak 399bab7905 Add max retries to websocket reconnect 2024-05-31 16:33:06 +02:00
Tomas Valenta 353682c022 Remove runCode and runCmd; Cleanup 2024-05-01 12:40:04 -07:00
Tomas Valenta 27a1c63b48 Merge branch 'main' into logs 2024-04-29 13:48:27 -07:00
Vasek Mlejnsky bc88f520a4 Merge main 2024-04-25 16:24:49 -07:00
Jakub Novak f0f53677d9 Fix local debug option in python SDK 2024-04-24 09:26:37 -07:00
Jakub Novak 1fd6cd5be8 Add possibility to change domain in python SDK 2024-04-18 10:20:21 -07:00
Jakub Novák 168e59faf6 Python dict race condition (#351)
Fixes #340
2024-04-05 18:32:36 -07:00
Tomas Valenta 21ba27c696 Regenerate Python API client 2024-04-04 18:13:23 -07:00
Jakub Novak 6e09c76aeb Remove old code interpreter 2024-04-04 11:38:58 -07:00
Tomas Valenta 5c068bc397 Update based on logs API 2024-04-03 16:18:16 -07:00
Jakub Novak a725c8f7d4 Add changeset 2024-03-25 12:49:30 -07:00
Jakub Novák 2bafaf0db4 Switch the template build to local (#338)
Change CLI to build the docker image locally
2024-03-24 10:12:43 -07:00
Tomas Valenta 8a993ce7eb Raise proper timeout exception 2024-03-13 00:23:57 -07:00
Tomas Valenta c0ee54cb7d Export all exceptions 2024-03-13 00:02:57 -07:00
Jakub Novak 74d2dc4dbc Don't set result if already set 2024-03-04 19:44:13 -08:00
Jakub Novak 280a6b04ba Fix kill command 2024-02-29 12:59:33 -08:00
Jakub Novak 39ec48b99c Fix type issues in python 3.8 2024-02-29 11:55:03 -08:00
Jakub Novak 35b20c8711 Fix type issue in Python 3.8 2024-02-29 10:00:02 -08:00
Jakub Novak 1801039dbf Add info about memory and cpus to sandbox list 2024-02-28 06:57:27 -08:00
Jakub Novak ad990dc624 Fix type definition in python SDK 2024-02-28 06:12:14 -08:00
Vasek Mlejnsky 710f227b85 Document process for customizing sandbox compute (#322)
Co-authored-by: Tomas Valenta <valenta.and.thomas@gmail.com>
Co-authored-by: Jakub Novak <jakub@e2b.dev>
2024-02-27 21:43:48 -08:00
Jakub Novak 096f19b808 Add explicitly api key to reconnect method 2024-02-15 09:08:57 -08:00
Jakub Novak b982ae322f Don't subscribe to scan ports in python SDK if not needed 2024-02-14 11:17:02 -08:00
Tomas Valenta b40637226a Fix sandboxID in Python SDK list method 2024-02-08 15:27:22 -08:00
Jakub Novak 26f1f43ebd Fix handler's type in terminal module in Python SDK 2024-02-08 10:43:05 -08:00
Tomas Valenta c86b79a1c5 Improve metadata dosctrings; Export metadata type in JS SDK 2024-02-06 11:38:11 -08:00
Jakub Novák 7fe1d3b569 Rename api endpoints (#298) 2024-02-02 18:57:40 +01:00
Jakub Novak 8dd2a0f33b Allow extra fields 2024-01-30 14:45:09 +01:00
Jakub Novak 363b577c69 Add alias to list command 2024-01-30 10:56:25 +01:00
Jakub Novak 1e1bd00b9c Fix naming for listing running sandboxes and add section to docs 2024-01-29 18:43:45 +01:00
Jakub Novák 34f49ca350 List running sandboxes (#297) 2024-01-29 17:10:11 +01:00
Jakub Novak d712060b3f Close the sdk properly if interrupted during connection to websocket 2024-01-25 15:04:57 +01:00
Jakub Novak dd9eb8507f Fix connection to local envd 2024-01-24 16:12:12 +01:00
Jakub Novak 389d54f5ea Decrease reconnect for python websocket client 2024-01-23 15:27:51 +01:00
Jakub Novák 239f3fcf32 Improve API key is missing error message (#293) 2024-01-23 15:15:35 +01:00
Jakub Novák 41fc5ffa90 Improve sdks performance (#287) 2024-01-22 18:17:23 +01:00
Jakub Novák 923f9aa24c Move refreshing and message processing to daemon threads in Python SDK (#286) 2024-01-22 12:33:30 +01:00
Tomas Valenta 035893c3c0 Fix Python buffering for processes 2023-12-19 14:44:38 +01:00
Tomas Valenta 479fe58a4b Prevent start command logs listening block when starting sandbox 2023-12-19 12:41:44 +01:00
Tomas Valenta b39810e625 Don't listen to start cmd if the output is not used 2023-12-19 12:04:53 +01:00
Tomas Valenta 1117bbc919 Make template arg in CodeInterpreter optional 2023-12-13 22:36:21 +01:00
Tomas Valenta d90778cb93 Enable overriding template in CodeInterpreter 2023-12-13 22:24:55 +01:00
Tomas Valenta 3d2b898e45 Always return string from sandbox.id 2023-12-10 21:58:39 +01:00
Jakub Novak b62502fba2 Add timeout for wait 2023-12-08 11:57:12 +01:00
Jakub Novak 09f2081a53 Fix debug mod 2023-12-06 09:48:25 +01:00
Jakub Novak 7364b824e0 Change print to logger 2023-12-05 16:29:49 +01:00
Jakub Novák 1b8e2ae8d7 Allow to connect to custom infra (#248)
Co-authored-by: Tomas Valenta <valenta.and.thomas@gmail.com>
2023-12-04 16:57:31 +01:00
Tomas Valenta 19fad9fea1 Add and improve docstrings in SDKs (#249) 2023-12-01 13:36:31 +01:00
Tomas Valenta 90635b0313 Remove action call when adding action 2023-11-30 15:41:06 +01:00