Containers
Module that defines containers for storing various types of information.
Record
Bases: object
A container class for holding general information.
Source code in maestrowf/abstracts/containers/__init__.py
__init__()
get(key, default=None)
Get information by key in a record.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key |
The key to look up in a Record's stored information. |
required | |
default |
The default value to return if the key is not found (Default: None). |
None
|
Returns:
Type | Description |
---|---|
The information labeled by parameter key. Default if key does not exist. |