Common data structures¶
Common data structures used by aiohttp internally.
A list-like structure which implements
- class aiohttp.FrozenList(items)¶
Construct a new non-frozen list from items iterable.
The list implements all
collections.abc.MutableSequencemethods plus two additional APIs.
A read-only property,
Trueis the list is frozen (modifications are forbidden).
Freeze the list. There is no way to thaw it back.
An immutable version of
the proxy is a list of mappings (dictionaries), if the requested key
is not present in the first mapping the second is looked up and so on.
The class supports
- class aiohttp.ChainMapProxy(maps)¶
Create a new chained mapping proxy from a list of mappings (maps).
New in version 3.2.