We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57859a9 commit 2d9cdcaCopy full SHA for 2d9cdca
cellengine/utils/readonly.py
@@ -0,0 +1,4 @@
1
+def readonly(obj, attribute, _):
2
+ raise AttributeError(
3
+ f"{attribute.name} is read-only and cannot be set for {obj.__class__}."
4
+ )
0 commit comments