to_object_async#

async classmethod VintageDate.to_object_async(response)[source]#

Asynchronously parses the FRED API response and returns a list of VintageDate objects.

Parameters:

response (Dict) – The FRED API response.

Returns:

A list of VintageDate objects.

Return type:

List[VintageDate]

Raises:

ValueError – If the response does not contain the expected data.