Clarification on handling streams through the API?

Jason
Jason Registered Posts: 33 ✭✭✭✭✭

In this video:

https://academy.dataiku.com/path/developer/code-within-dataiku/2004574

At around the timestamp 3:23, the last line of code shows

folder.upload_stream("name_of_file_in_folder", f)

Which appears to be incorrect since "folder" is undefined. Should this have been handle.upload_stream(… instead?

(Also, please add version 13 as a version option in the ask a question form?)

Operating system used: RHEL

Setup Info
    Tags
      Help me…