Skip to content

Conversation

@birkholz-cubert
Copy link
Collaborator

If an object is not allowed to be copied, the __copy__ or __deepcopy__ functions is implemented but will raise a TypeError on execution.
Currently only Measurement has support for a deep copy operation (out of all the objects that manage a handle)
For objects that do not manage a sdk handle, the normal python copy behaviour is enough.

@birkholz-cubert birkholz-cubert merged commit 13ba8a6 into main Jan 21, 2025
@birkholz-cubert birkholz-cubert deleted the feature/add_deep_copy_func branch April 7, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants