File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -3241,6 +3241,26 @@ components:
3241
3241
description : " Code snippet to execute."
3242
3242
example : " print('Hello, world!')"
3243
3243
type : string
3244
+ files :
3245
+ description : Files to upload to the session. If present, files will be uploaded before executing the given code.
3246
+ items :
3247
+ properties :
3248
+ content :
3249
+ type : string
3250
+ encoding :
3251
+ description : Encoding of the file content. Use `string` for text files such as code, and `base64` for binary files, such as images.
3252
+ enum :
3253
+ - string
3254
+ - base64
3255
+ type : string
3256
+ name :
3257
+ type : string
3258
+ required :
3259
+ - name
3260
+ - encoding
3261
+ - content
3262
+ type : object
3263
+ type : array
3244
3264
language :
3245
3265
default : python
3246
3266
description : Programming language for the code to execute. Currently only supports Python, but more will be added.
You can’t perform that action at this time.
0 commit comments