INNER CODE UNIT · Python
fit_context
pdpipe/pdpipe · src/pdpipe/core.py:225
def fit_context(self) -> "PdpApplicationContext":
"""Return a locked PdpApplicationContext object of a previous fit.
Returns
-------
PdpApplicationContext
A locked PdpApplicationContext object of a previous fit.
"""
return self._fit_context
def is_locked(self) -> bool:
"""Return True if this application context is locked; False otherwise.
Returns
-------
bool
True if this application context is locked; False otherwise.