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 @@ -3242,6 +3242,26 @@ components:
3242
3242
description : ' Code snippet to execute. '
3243
3243
example : " print('Hello, world!')"
3244
3244
type : string
3245
+ files :
3246
+ description : Files to upload to the session. If present, files will be uploaded before executing the given code.
3247
+ items :
3248
+ properties :
3249
+ content :
3250
+ type : string
3251
+ encoding :
3252
+ description : Encoding of the file content. Use `string` for text files such as code, and `base64` for binary files, such as images.
3253
+ enum :
3254
+ - string
3255
+ - base64
3256
+ type : string
3257
+ name :
3258
+ type : string
3259
+ required :
3260
+ - name
3261
+ - encoding
3262
+ - content
3263
+ type : object
3264
+ type : array
3245
3265
language :
3246
3266
default : python
3247
3267
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