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
0unless the status isOK.- reasonstr or None
Why a
BROKENsource could not be consulted, as the exception type and message.Nonefor the other statuses, because there is nothing to explain about a source that worked.
- Parameters:
source (str)
status (DiscoveryStatus)
count (int)
reason (str | None)
- status: DiscoveryStatus[source]#