Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
add note about binary read mode, fixes #169
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygeo committed Apr 3, 2017
1 parent d4d6149 commit bd8e8c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/uploads.md
Expand Up @@ -25,8 +25,10 @@ return an instance of

## Usage

Upload any supported file to your account using the ``Uploader``. The
name of the destination dataset can be any string of <= 32 chars. Choose one
Upload any supported file to your account using the ``Uploader``. The file
object must be opened in binary mode (`rb`) and produce bytes when read, not unicode strings.

The name of the destination dataset can be any string of <= 32 chars. Choose one
suited to your application or generate one using, e.g., `uuid.uuid4().hex`.
In the example below, we use a string defined in a test fixture.

Expand Down

0 comments on commit bd8e8c6

Please sign in to comment.