Skip to content

Releases: socrata/socrata-py

Version 1.0.0

17 Mar 23:43
4681051
Compare
Choose a tag to compare

Breaking Changes

  • Functions that previously returned a tuple of the status and the resource now just return the resource, or throw an exception. For example:
(ok, revision) = socrata.new({'name': 'cool dataset'})
assert ok, revision

becomes

revision = socrata.new({'name': 'cool dataset'})

If the operation fails, a SocrataException is thrown.

Enhancements

  • Uploads are now done in parallel, using the chunked upload API. They will also be retried if a portion of it fails due to a transient network issue, rather than causing the whole upload to finish.

Feature Additions

  • None

Feature Removals

  • None

Installation

Update your requirements.txt file to reference socrata-py==1.0.0. Note that the old version (0.4.2) still works just fine, so if you would like to continue using that, make sure your requirements.txt file contains socrata-py==0.4.2