Store items

Retrieving store item objects

A store item can be retrieved from a store object. Use the get_items() function of the BlueConic store object.

Using store item objects

class StoreItem
get_value(property_id)

Gets the first value of a property.

Parameters

property_id (str) – The ID of the property to retrieve the value from

Raises

KeyError – If the ID does not refer to an existing property

Returns

The first value of the property

Return type

str

get_values(property_id)

Gets all values of a property.

Parameters

property_id (str) – The ID of the property to retrieve the values from

Raises

KeyError – If the ID does not refer to an existing property

Returns

All the values of the property

Return type

[str]

property properties

Returns the properties of this object.

property property_ids

Returns the property IDs of this object.