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 58d3832 commit 482efbfCopy full SHA for 482efbf
larray/core/session.py
@@ -328,6 +328,8 @@ def __getattr__(self, key):
328
raise AttributeError("'{}' object has no attribute '{}'".format(self.__class__.__name__, key))
329
330
def __setattr__(self, key, value):
331
+ # the condition below is needed because, unlike __getattr__, __setattr__ is called before any property
332
+ # see https://stackoverflow.com/a/15751159
333
if key == 'meta':
334
super().__setattr__(key, value)
335
else:
0 commit comments