-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added original JSON to models, minor bugfix?
Updated ``from_json()`` methods to assign the original JSON object to the model being instantiated Updated ``from_json`` in ``ticketpy.model.Event`` to handle missing _name_ key to avoid throwing a KeyError in a possible edge case
- Loading branch information
arcward
committed
Jun 28, 2017
1 parent
f407e7f
commit 929de7b
Showing
3 changed files
with
19 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ ticketpy.egg-info | |
*.pyc | ||
*.pickle | ||
ticketpy/__pycache__/ | ||
coverage/ |
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 |
---|---|---|
|
@@ -342,10 +342,3 @@ def test_all(self): | |
self.assertListEqual(iter_all, iter_manual) | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|