Skip to content

Commit

Permalink
Remove from function_data
Browse files Browse the repository at this point in the history
  • Loading branch information
superstar54 committed Dec 16, 2024
1 parent 60d992a commit 16c854c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/aiida_pythonjob/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def build_function_data(func: Callable) -> Dict[str, Any]:
function_data.update(
{
"mode": "use_module_path",
"module_path": func.__module__,
"source_code": f"from {func.__module__} import {func.__name__}",
}
)
Expand Down
1 change: 0 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def test_build_function_data():
assert function_data == {
"name": "sqrt",
"mode": "use_module_path",
"module_path": "math",
"source_code": "from math import sqrt",
}
#
Expand Down

0 comments on commit 16c854c

Please sign in to comment.