Skip to content

Commit

Permalink
fix copy()
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 21, 2024
1 parent 8c819b1 commit 8be1b2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyiron_base/project/delayed.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def __init__(
pass
self.__name__ = "DelayedObject"
self._result = None
self._python_function = None
self._server = Server()
self._output_key = output_key
self._output_file = output_file
Expand Down Expand Up @@ -294,6 +295,7 @@ def __copy__(self):
list_length=self._list_length,
list_index=self._list_index,
)
obj_copy._python_function = self._python_function
obj_copy._input = self._input
obj_copy._result = self._result
obj_copy._server.from_dict(self._server.to_dict())
Expand Down

0 comments on commit 8be1b2b

Please sign in to comment.