mantlebio.types.response.list_reponse module#

class mantlebio.types.response.list_reponse.ListResponse(items=None)[source]#

Bases: Generic[T]

A generic class for handling list responses from the Mantle API

_get_item_type()[source]#
Return type:

Type[TypeVar(T, bound= ResponseItem)]

append(item)[source]#

Append an item to the list

Return type:

None

extend(items)[source]#

Extend the list with a list of items

Return type:

None

to_dataframe()[source]#

Convert the list of items to a pandas DataFrame

Return type:

DataFrame