sciline.reporter.NullReporter#
- class sciline.reporter.NullReporter[source]#
A progress reporter that does nothing.
Useful as a fallback to disable reporting.
- __init__()#
Methods
__init__
()call_provider_with_reporting
(provider, values)Call a provider and report its progress with this reporter.
on_provider_end
(provider_id)Show that a provider has finished.
on_provider_start
(provider)Show that a provider has started.
reporting_provider_func
(provider)Call a provider and report its progress with this reporter.
run_computation
(providers)Run a single computation with progress reporting.
- call_provider_with_reporting(provider, values)[source]#
Call a provider and report its progress with this reporter.
- Return type:
- reporting_provider_func(provider)[source]#
Call a provider and report its progress with this reporter.
- run_computation(providers)#
Run a single computation with progress reporting.
This method is primarily meant for internal use. As a user, you should pass reporters to
Pipeline.compute()
.Use this method in a
with
statement:with reporter.run_computation(providers): # Perform computation
This method exists mainly to provide arguments when entering a reporting context, implementers should mainly override
__enter__
.- Return type: