-
Notifications
You must be signed in to change notification settings - Fork 24
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 #1 from cloudblue/add_fields_tracking
Add support to keep tracks of changes to fields.
- Loading branch information
Showing
39 changed files
with
1,323 additions
and
85 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 |
---|---|---|
|
@@ -11,3 +11,10 @@ dist/ | |
|
||
tests/reports/ | ||
.coverage | ||
|
||
*.dump | ||
|
||
htmlcov | ||
.devcontainer | ||
|
||
docs/_build |
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,13 +1,22 @@ | ||
# Copyright © 2020 Ingram Micro Inc. All rights reserved. | ||
|
||
ALL_BASIC_FIELDS = '__all__' | ||
|
||
FIELDS_TRACKER_FIELD_NAME = '__fields_tracker' | ||
TRACKED_FIELDS_ATTR_NAME = '__tracked_fields' | ||
|
||
# Copyright © 2020 Ingram Micro Inc. All rights reserved. | ||
|
||
class SignalType: | ||
DELETE = 'DELETE' | ||
"""Type of signal that generates this event.""" | ||
|
||
SAVE = 'SAVE' | ||
"""The master model has been saved.""" | ||
|
||
DELETE = 'DELETE' | ||
"""The master model has been deleted.""" | ||
|
||
SYNC = 'SYNC' | ||
"""The master model needs syncronization.""" | ||
|
||
|
||
NO_QUEUE = 'None' |
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
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
Oops, something went wrong.