-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from hgromer/dev
refactor how Marshal works
- Loading branch information
Showing
7 changed files
with
235 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
__version__ = '0.1.1' | ||
__all__ = ['marshal', 'utils', 'arg_delegates', 'errors'] | ||
__version__ = '0.2.0' | ||
__all__ = ['Marshal', 'utils', 'arg_delegates', 'errors'] | ||
|
||
from pymarshaler import marshal | ||
from pymarshaler.marshal import Marshal | ||
from pymarshaler import utils | ||
from pymarshaler import arg_delegates | ||
from pymarshaler import errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
class PymarshallError(RuntimeError): | ||
class PymarshalError(RuntimeError): | ||
pass | ||
|
||
|
||
class UnknownFieldError(PymarshallError): | ||
class UnknownFieldError(PymarshalError): | ||
pass | ||
|
||
|
||
class UnsupportedClassError(PymarshallError): | ||
class UnsupportedClassError(PymarshalError): | ||
pass | ||
|
||
|
||
class InvalidDelegateError(PymarshallError): | ||
class InvalidDelegateError(PymarshalError): | ||
pass | ||
|
||
|
||
class MissingFieldsError(PymarshallError): | ||
class MissingFieldsError(PymarshalError): | ||
pass |
Oops, something went wrong.