ninjadog.ext package¶
Submodules¶
ninjadog.ext.pyramid module¶
-
ninjadog.ext.pyramid.
changed
(dictionary: dict, key: typing.Any, value: typing.Any) → bool[source]¶ Return true if the value for the given key in the dictionary has changed.
Parameters: - dictionary – dict
- key – any
- value – any
Returns:
-
ninjadog.ext.pyramid.
remove_file_if_exists
(file: pathlib.Path) → True[source]¶ Removes the file from the file system if it exists.
Parameters: file – filepath Returns: True