Revision e2eaec0b
- 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