Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Boolean options submitted to API in Python style #17

@reefdog

Description

@reefdog

Hi there @anthonydb, this is @reefdog, a developer with DocumentCloud. We're really excited that you've written this impressive library for interacting with our API, and want to be of any help we can.

We noticed that when users of pneumatic set boolean options (like force_ocr), it hits our server with Python-style boolean values (True or False). Unfortunately, Rails doesn't coerce these into their respective boolean values; they both get treated as strings. You'll need to make sure you're sending all booleans as true or false (lowercase) in order to trigger expected behavior from our API.

You can actually find this and more helpful information on our API documentation page, which, thanks to our stellar employees and contributors is even available in Spanish if you're logged in and have your workspace set to Spanish.

Cheers, Anthony!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions