You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, the event_types parameter in FileWatcher accepted
either a set or None value, with None used as a mechanism to
prevent issues related to Python mutable objects and default
values.
This commit simplifies the code by removing the handling of
None as a default value for event_types while still preventing
issues related to mutable objects.
Signed-off-by: Daniel Zullo <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
## Upgrading
8
8
9
-
<!-- Here goes notes on how to upgrade from previous versions, including if there are any depractions and what they should be replaced with -->
9
+
*`FileWatcher` no longer accepts or sets `None` as the `event_types` argument. Instead, all available event types are now set by default while still providing the flexibility to customize the event types as needed.
0 commit comments