to_object_async#

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

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

Parameters:

response (Dict) – The FRED API response.

Returns:

A list of Category objects.

Return type:

List[Category]

Raises:

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