Commit Graph

36 Commits

Author SHA1 Message Date
Pavel 'Strajk' Dolecek e250a7bb97 feat(js-sdk,py-sdk): Rename rootDir/rootdir to cwd, add cwd option to Session (#165)
Test CLI / Build CLI (push) Has been cancelled
Co-authored-by: Jakub Novák <jakub@e2b.dev>
2023-09-27 10:03:03 +02:00
Vasek Mlejnsky 8c59d6d366 Add docs for run code helper method 2023-09-26 19:07:45 +02:00
Vasek Mlejnsky ae2c6ef60b Add tests 2023-09-26 19:07:45 +02:00
Vasek Mlejnsky 9ec3e8fefb add a helper wrapper for running code to Python SDK 2023-09-26 19:07:45 +02:00
Jakub Novák cb1ef24d84 Update Python SDK to pydantic V2 (#167)
Test CLI / Build CLI (push) Has been cancelled
2023-09-26 11:18:47 +02:00
Jakub Novák 3c6ff27ede Update pydantic to version 2.x.x (#166)
Test CLI / Build CLI (push) Has been cancelled
2023-09-26 11:02:26 +02:00
Tomas Valenta 9e3c499b69 Add missing pydantic annotations (#164)
Test CLI / Build CLI (push) Has been cancelled
2023-09-25 23:10:03 +02:00
Vasek Mlejnsky f227b80f29 Add an option to upload and download binary files via write_bytes and read_bytes 2023-09-19 19:34:38 +02:00
Jakub Novák 64b8379e37 Decrease websocket reconnect period (#122) 2023-09-08 15:56:09 +02:00
Jakub Novák 1b8ea4099c Add package and platform info into header (#106) 2023-09-07 07:59:45 +02:00
Jakub Novak 35bd9bcce5 Minor improvements in python logging 2023-09-04 15:07:45 +02:00
Jakub Novak 06c59f881c Change timeout to float 2023-08-31 11:52:00 +02:00
Jakub Novak d11978ff9a Fix timeout test 2023-08-31 11:51:49 +02:00
Jakub Novák ae587c4b1c Improve python logging (#94) 2023-08-31 11:37:17 +02:00
Jakub Novák 244fd5be4f Add timeout handling to the relevant methods in python SDK (#97) 2023-08-31 11:15:10 +02:00
Jakub Novak f759d71de2 Run poetry install before tests 2023-08-29 15:44:55 +02:00
Tomas Valenta 8062de6bd4 Start requiring API key for starting environment sessions (#93) 2023-08-29 09:33:38 +02:00
Jakub Novák 250ffc69c9 Periodic E2E tests of our infra via calling sdks (#92) 2023-08-28 18:29:48 +02:00
Tomas Valenta 61d60f8658 Fix api key types 2023-08-28 15:24:29 +02:00
Tomas Valenta a566c86330 Remove unnecessary parameters; Fix api key type 2023-08-28 14:54:04 +02:00
Jakub Novak 02d41605dd Fix python sdk for python 3.8 2023-08-28 13:01:15 +02:00
Jakub Novak 4966956af4 Support python 3.8 2023-08-27 22:20:45 +02:00
Jakub Novak 974757632e Remove dummy tests 2023-08-27 21:42:32 +02:00
Jakub Novák 04562c0133 WebSocket in separate thread (#91)
Co-authored-by: Tomas Valenta <valenta.and.thomas@gmail.com>
2023-08-27 21:36:41 +02:00
Tomas Valenta 325a009b43 Switch order or exit handlers so it is consistent with JS SDK and terminal exit handlers 2023-08-24 14:11:50 +02:00
Tomas Valenta ffcee4a92c Remove unused code for codesnippet service 2023-08-24 14:11:20 +02:00
Jakub Novák 512f0dea45 Require API key to interact with e2b infra (v0.2.0) (#75) 2023-08-24 12:57:39 +02:00
Jakub Novák cdd42592a4 Add warning API key will be required (v0.1.11) (#76) 2023-08-24 10:26:37 +02:00
Tomas Valenta 24c3834106 Change order of exit callbacks 2023-08-18 17:40:36 +02:00
Tomas Valenta 946ead889e Remove ws connection generator; Improve error handling; Cleanup 2023-08-18 03:18:08 +02:00
Tomas Valenta 8bd1c93b3f Improve close handling; Refresh session in separate thread; Keep websocket alive in a separate thread; Bump version 2023-08-18 02:34:41 +02:00
Tomas Valenta a35de5d83b Update generated api 2023-08-18 02:22:53 +02:00
Tomas Valenta 17d743c175 Update error message 2023-08-15 12:45:08 +02:00
Tomas Valenta 21c2f03d4d Bump version; Cleanup 2023-08-15 11:54:00 +02:00
Tomas Valenta 633d8ea9c6 Improve Python lib error handling 2023-08-15 11:35:21 +02:00
Tomas Valenta 922f604dbc Add SDK and CLI [WIP] to the monorepo 2023-08-14 14:54:45 +02:00