-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated Date, Time and Datetime behaviour (#1736)
This PR updates the `Date`, `Time` and `Datetime` trait types for previous deprecations: - the `Date` trait type will now no longer accept `datetime` instances unless `allow_datetime=True` is used - the `Date`, `Time` and `Datetime` trait types will now no longer accept a value of `None` unless `allow_none=True` is used **Checklist** - [x] Tests - [x] Update API reference (`docs/source/traits_api_reference`) - no changes needed - [x] Update User manual (`docs/source/traits_user_manual`) - [x] Update type annotation hints in stub files - no changes needed
- Loading branch information
1 parent
8851999
commit 7eefaa2
Showing
5 changed files
with
63 additions
and
141 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
Oops, something went wrong.