INNER CODE UNIT · Python
keys
pdpipe/pdpipe · src/pdpipe/core.py:155
def keys(self):
"""Return a new view of the context's keys.
Returns
-------
object
A new view of the context's keys.
"""
return self._dict.keys()
def pop(self, key: object, default: object) -> object:
"""Remove the given key from this dict and return its mapped value.
If key is in the dictionary, remove it and return its value, else
return default. If default is not given and key is not in the
dictionary, a KeyError is raised.