Project

General

Profile

« Previous | Next » 

Revision e2eaec0b

IDe2eaec0bed8c4a24e2c8fbafece7950927211b91
Parent 091bdad4
Child 83b54a86

Added by Roger Dahl over 10 years ago

  • Updated DataONEException tests to match the serialization changes.
  • Added more tests for DataONEException.
  • Fixed wrong copyright notice in init.py.
  • Refactored Exception classes to match serialization changes. A new approach was necessary to cover all possible variations in the optional values. In the previous version, the only optional value was the PID, so exceptions with the PID had their own base class.
  • Added function to deserialize exception from HTTP headers.
  • Improved function that serializes exception to HTTP headers.
  • Updated setup.py to automatically exclude unversioned modules.
  • Removed the DataONEIdentifierException base class. All exceptions now take the same parameters. This lets the user decide which values are relevant to return for any given exception.
  • Updated the PyXB bindings to match the exception schema.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

Add picture from clipboard (Maximum size: 14.8 MB)