to_object_async#
- async classmethod Element.to_object_async(response)[source]#
Asynchronously parses the FRED API response and returns a list of Element objects.
- Parameters:
response (Dict) – The FRED API response.
- Returns:
A list of Element objects.
- Return type:
List[Element]
- Raises:
ValueError – If the response does not contain the expected data.