Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ba91b
)
WIP
agy/edf27816_2
author
Anthony Geay
<anthony.geay@edf.fr>
Wed, 7 Jun 2023 13:07:23 +0000
(15:07 +0200)
committer
Anthony Geay
<anthony.geay@edf.fr>
Wed, 7 Jun 2023 13:07:23 +0000
(15:07 +0200)
src/Container/SALOME_PyNode.py
patch
|
blob
|
history
diff --git
a/src/Container/SALOME_PyNode.py
b/src/Container/SALOME_PyNode.py
index f02c2d0df95777e5449772387afc8f24f3b8bfa0..9f296abb9881056b83a0d339097b18165497c617 100644
(file)
--- a/
src/Container/SALOME_PyNode.py
+++ b/
src/Container/SALOME_PyNode.py
@@
-245,6
+245,17
@@
def SpoolPickleObject( obj ):
pickleProxy = pickle.dumps( proxyObj , pickle.HIGHEST_PROTOCOL )
return pickleProxy
+def UnProxyObjectSimple( obj ):
+ if isinstance(obj,BigObjectOnDiskBase):
+ return obj.get()
+ elif isinstance( obj, list):
+ retObj = []
+ for elt in obj:
+ retObj.append( UnProxyObjectSimple(elt) )
+ return retObj
+ else:
+ return obj
+
def UnProxyObject( obj ):
if isinstance(obj,BigObjectOnDiskBase):
obj.doNotTouchFile()