Skip to content

Commit 2e52d15

Browse files
committed
add missing @default decorator on checkpoints_class
this is not strictly required, as default generators are no longer deprecated, but it'st still a good idea
1 parent e9c9c3a commit 2e52d15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

notebook/services/contents/filemanager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def _validate_root_dir(self, proposal):
142142
raise TraitError("%r is not a directory" % value)
143143
return value
144144

145+
@default('checkpoints_class')
145146
def _checkpoints_class_default(self):
146147
return FileCheckpoints
147148

0 commit comments

Comments
 (0)