probly.method.cast¶ probly.method.cast(base: T) → T[source]¶ Return a predictor unchanged while optionally registering its predictor type. Parameters: base – Predictor to return unchanged. Returns: The unchanged predictor. If predictor_type is passed to this method, the returned predictor is registered as that type.