File tree 1 file changed +13
-1
lines changed 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def __init__(
71
71
uuid: Optional[str], optional (default=None)
72
72
UUID of the PipelineElement. If None, a new UUID is generated.
73
73
"""
74
- self .descriptor_list = descriptor_list
74
+ self .descriptor_list = descriptor_list # type: ignore
75
75
self ._return_with_errors = return_with_errors
76
76
self ._log_exceptions = log_exceptions
77
77
super ().__init__ (
@@ -105,6 +105,18 @@ def descriptor_list(self) -> list[str]:
105
105
106
106
@descriptor_list .setter
107
107
def descriptor_list (self , descriptor_list : list [str ] | None ) -> None :
108
+ """Set the descriptor list.
109
+
110
+ Parameters
111
+ ----------
112
+ descriptor_list: list[str] | None
113
+ List of descriptor names to calculate. If None, DEFAULT_DESCRIPTORS are used.
114
+
115
+ Raises
116
+ ------
117
+ ValueError
118
+ If an unknown descriptor name is used.
119
+ """
108
120
if descriptor_list is None or descriptor_list is DEFAULT_DESCRIPTORS :
109
121
# if None or DEFAULT_DESCRIPTORS are used, set the default descriptors
110
122
self ._descriptor_list = DEFAULT_DESCRIPTORS
You can’t perform that action at this time.
0 commit comments