File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @e2b/python-sdk ' : patch
3+ ---
4+
5+ fix write_files docstring to correctly state that parent directories are auto-created
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ async def write_files(
237237 Writes a list of files to the filesystem.
238238 When writing to a file that doesn't exist, the file will get created.
239239 When writing to a file that already exists, the file will get overwritten.
240- When writing to a file that's in a directory that doesn't exist, you'll get an error .
240+ When writing to a file at path that doesn't exist, the necessary directories will be created .
241241
242242 :param files: list of files to write as `WriteEntry` objects, each containing `path` and `data`
243243 :param user: Run the operation as this user
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ def write_files(
233233 Writes a list of files to the filesystem.
234234 When writing to a file that doesn't exist, the file will get created.
235235 When writing to a file that already exists, the file will get overwritten.
236- When writing to a file that's in a directory that doesn't exist, you'll get an error .
236+ When writing to a file at path that doesn't exist, the necessary directories will be created .
237237
238238 :param files: list of files to write as `WriteEntry` objects, each containing `path` and `data`
239239 :param user: Run the operation as this user
You can’t perform that action at this time.
0 commit comments