modelrunner.storage.attributes module

decode_attrs(attrs)[source]

decode many attributes

Parameters:

attrs (dict) – The attributes dictionary

Returns:

The decoded attributes

Return type:

dict

encode_attrs(attrs)[source]

encode many attributes

Parameters:

attrs (dict) – The attributes dictionary

Returns:

The encoded attributes

Return type:

dict