ItemWrapper
Items are wrapped inside an ItemWrapper to be stored in the cache.
Methods
GetID()
@classmethod
def GetID() - > [ItemID](../cache/itemid.md?sid=flytestdlib_cache_itemid)
Retrieves the unique identifier for the wrapped item. Callers use this to identify the specific item within the cache.
Returns
| Type | Description |
|---|---|
[ItemID](../cache/itemid.md?sid=flytestdlib_cache_itemid) | The unique identifier of the item. |
GetItem()
@classmethod
def GetItem() - > [Item](../cache/item.md?sid=flytestdlib_cache_item)
Retrieves the actual item stored within the wrapper. Callers use this to access the underlying data or object.
Returns
| Type | Description |
|---|---|
[Item](../cache/item.md?sid=flytestdlib_cache_item) | The item contained within the wrapper. |