Skip to content

Commit fffc8f3

Browse files
committed
Rename default_parameters -> _default_parameters
1 parent 777100c commit fffc8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adaptive/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __call__(self, *args, **kwargs):
101101
return obj
102102

103103

104-
def default_parameters(function, function_prefix="", start_index=1):
104+
def _default_parameters(function, function_prefix="", start_index=1):
105105
sig = inspect.signature(function)
106106
defaults = {
107107
f"{function_prefix}{k}": v.default
@@ -112,6 +112,6 @@ def default_parameters(function, function_prefix="", start_index=1):
112112

113113

114114
def assign_defaults(function, df, function_prefix="", start_index=1):
115-
defaults = default_parameters(function, function_prefix, start_index)
115+
defaults = _default_parameters(function, function_prefix, start_index)
116116
for k, v in defaults.items():
117117
df[k] = len(df) * [v]

0 commit comments

Comments
 (0)