MCPcopy Create free account
hub / github.com/ImageEngine/cortex / serialise

Method serialise

python/IECore/ParameterParser.py:157–162  ·  view source on GitHub ↗
( self, parameters, values=None )

Source from the content-addressed store, hash-verified

155 # be passed to parse() to retrieve the values. Parameter values will be validated,
156 # and may throw an exception, unless the alternate values argument is used.
157 def serialise( self, parameters, values=None ) :
158
159 if values is None :
160 values = parameters.getValidatedValue()
161
162 return self.__serialiseWalk( parameters, values, "" )
163
164 def __serialiseWalk( self, parameter, value, rootName ) :
165

Calls 2

__serialiseWalkMethod · 0.95
getValidatedValueMethod · 0.80

Tested by 2

testSerialiseAndParseMethod · 0.64
testSerialiseAndParseMethod · 0.64