sepal_ui.planetapi.planet_widgets.InfoCard#

class sepal_ui.planetapi.planet_widgets.InfoCard(**kwargs)[source]#

Information card that will display the subscription data.

Attributes

Methods

__init__

Information card that will display the subscription data.

update

Extract the info from the subscription and set it in the card.

InfoCard.__init__()[source]#

Information card that will display the subscription data.

Return type:

None

InfoCard.update(subs_group)[source]#

Extract the info from the subscription and set it in the card.

Parameters:

subs_group (List[dict]) – list of subscriptions belonging to the same category (‘nicfi’, ‘others’)

Return type:

Self