DeferredSubDict
Wrap a dict, allowing deferred access to a sub-dict under a given key.
Attributes
| Attribute | Type | Description |
|---|---|---|
| parent_dict | dict | The dictionary being wrapped that contains the sub-dictionary to be accessed lazily. |
| deferred_key | hashable | The key within parent_dict that points to the sub-dictionary used for item lookups. |
Constructor
Signature
def DeferredSubDict(
parent_dict: dict,
deferred_key: any
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| parent_dict | dict | The dictionary containing the sub-dictionary. |
| deferred_key | any | The key in the parent dictionary that points to the sub-dictionary. |
Signature
def DeferredSubDict(
parent_dict: dict,
deferred_key: any
)
Parameters
| Name | Type | Description |
|---|---|---|
| parent_dict | dict | The source dictionary containing the nested data structure |
| deferred_key | any | The key in the parent dictionary that points to the sub-dictionary to be accessed lazily |