From e56a7a8b9c9e03deb778da832234616bb07aa565 Mon Sep 17 00:00:00 2001 From: Steven Oh <91847206+jaeestee@users.noreply.github.com> Date: Tue, 6 Jun 2023 16:16:46 -0500 Subject: [PATCH] Fixed issues in the "Downloading Files" Section It seems to be that in the files.getContents, the system id variable must be named "systemId", not the previous variable name "system_id" --- files/data.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/data.md b/files/data.md index 28f3fad..2ef0f54 100644 --- a/files/data.md +++ b/files/data.md @@ -108,13 +108,13 @@ The output confirms the presence of the file: ## Downloading Files Finally, we can download a file using the syntax: ```python -t.files.getContents(system_id=, +t.files.getContents(systemId='', path='/some/remote/file.txt') ``` For example, ```python -t.files.getContents(system_id='stampede2.jstubbs-2', +t.files.getContents(systemId='stampede2.jstubbs', path="/work2/01837/jstubbs/stampede2/hello-tapis.ipynb") ``` Note that the function returns the file contents as a raw bytes object.