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