diff --git a/src/hyfi/pipe/funcs.py b/src/hyfi/pipe/funcs.py index a448aee1..434b51ef 100644 --- a/src/hyfi/pipe/funcs.py +++ b/src/hyfi/pipe/funcs.py @@ -14,6 +14,8 @@ def data_class_methods(data: Any, config_kwargs: Dict): config = PipeConfig(**config_kwargs) + if not config._method_: + raise ValueError("No method specified") if config.verbose: logger.info("Running dataframe function: %s", config_kwargs) if isinstance(data, dict):