nvflare.app_common.resource_consumers.list_resource_consumer module

class ListResourceConsumer[source]

Bases: ResourceConsumerSpec

This class can be used with ListResourceManager.

Users can add custom _Consumer in the resource_consumer_map to handle new resource type.

consume(resources: dict)[source]