Files¶
Save file¶
client.users.save(*files)
Files are expected to be tuples of (file_name, contents)
.
# Each of these are perfectly acceptible.
client.files.save(('foo.txt', open('/path/to/foo.txt')))
client.files.save(('foo.txt', StringIO('This is foo.txt')))
client.files.save(('foo.txt', 'This is foo.txt'))
TODO.