DiscoveryOutcome#

class scikitplot.corpus.DiscoveryOutcome(source, status, count=0, reason=None)[source]#

What happened when one source was asked for its components.

Parameters:
sourcestr

Import path of the source consulted.

statusDiscoveryStatus

Terminal outcome.

countint

Components contributed. Always 0 unless the status is OK.

reasonstr or None

Why a BROKEN source could not be consulted, as the exception type and message. None for the other statuses, because there is nothing to explain about a source that worked.

Parameters:
count: int = 0#
reason: str | None = None#
source: str[source]#
status: DiscoveryStatus[source]#