File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ def auto_register_steps_from_package(cls, package_name):
61
61
):
62
62
cls .register_step (attribute )
63
63
64
- @staticmethod
65
- def load_and_register_custom_steps (custom_steps_path : str ) -> None :
64
+ @classmethod
65
+ def load_and_register_custom_steps (cls , custom_steps_path : str ) -> None :
66
66
"""
67
67
Dynamically loads and registers step classes found in the specified directory.
68
68
@@ -74,11 +74,6 @@ def load_and_register_custom_steps(custom_steps_path: str) -> None:
74
74
----------
75
75
custom_steps_path : str
76
76
The path to the directory containing custom step implementation files.
77
-
78
- Returns
79
- -------
80
- NoReturn
81
- This function does not return anything.
82
77
"""
83
78
Pipeline .logger .debug (f"Loading custom steps from: { custom_steps_path } " )
84
79
for filename in os .listdir (custom_steps_path ):
You can’t perform that action at this time.
0 commit comments