-
-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Batch with additional historical model fields (#1248)
* docs * add history attribute to batch * doc updates * uses `custom_historical_attrs` not kwargs * updates docs with PollWithHistoricalSessionAttr and session attr * changes example values to not be same as other examples * adds PollWithHistoricalSessionAttr for testing * updates test for PollWithHistoricalSessionAttr * adds custom_historical_attrs to test_bulk_create_no_ids_return test * corrected change list * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * updates `SessionsHistoricalModel` with explicit default=None * updates CustomHistoricalAttrsTest test to use TestCase setUp * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixes: id value can not be 0 * Update CHANGES.rst Co-authored-by: Anders <[email protected]> * Update simple_history/tests/tests/test_utils.py Co-authored-by: Anders <[email protected]> * Update docs/common_issues.rst Co-authored-by: Anders <[email protected]> * Update docs/common_issues.rst Co-authored-by: Anders <[email protected]> * Update docs/common_issues.rst Co-authored-by: Anders <[email protected]> * Update docs/common_issues.rst Co-authored-by: Anders <[email protected]> * Update simple_history/tests/tests/test_utils.py Co-authored-by: Anders <[email protected]> * Update simple_history/tests/tests/test_utils.py Co-authored-by: Anders <[email protected]> * Update simple_history/tests/tests/test_utils.py Co-authored-by: Anders <[email protected]> * Update simple_history/tests/tests/test_utils.py Co-authored-by: Anders <[email protected]> * Update simple_history/tests/tests/test_utils.py Co-authored-by: Anders <[email protected]> * Update simple_history/manager.py Co-authored-by: Anders <[email protected]> * updates docstring --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anders <[email protected]>
- Loading branch information
1 parent
bde32e1
commit 1032b40
Showing
7 changed files
with
120 additions
and
0 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
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
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