ninjadog.ext package¶
Submodules¶
ninjadog.ext.pyramid module¶
-
ninjadog.ext.pyramid.
get_and_update
(dictionary: dict, key: typing.Any, value: typing.Any) → typing.Any[source]¶ Get the previous value for the key and update with the new value.
Parameters: - dictionary – dict
- key – any
- value – any
Returns: the previous value for that key or the value if the key didn’t exist
-
ninjadog.ext.pyramid.
reset_tempdir
()¶