rules/effector/deprecated-get-feature-types.md
effector.utils.get_feature_types() emits a DeprecationWarning in effector 0.6. Use effector.ingestion.infer_feature_types() (or effector.from_dataframe() for pandas DataFrames).
diff
| 1 | -types = effector.utils.get_feature_types(X) |
| 2 | +types = effector.ingestion.infer_feature_types(X) |
What the rule reports
Calls to get_feature_types(...) in files that import effector.
How to fix it
Call effector.ingestion.infer_feature_types(...) instead. Qualified effector.utils.get_feature_types(...) calls autofix safely with xpd check --fix.