Source code for datumaro.util.telemetry_stub

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT


[docs]class Telemetry(object): """ A stub for the Telemetry class, which is used when the Telemetry class is not available. """
[docs] def __init__(self, *arg, **kwargs): pass
[docs] def send_event(self, *arg, **kwargs): pass
[docs] def send_error(self, *arg, **kwargs): pass
[docs] def start_session(self, *arg, **kwargs): pass
[docs] def end_session(self, *arg, **kwargs): pass
[docs] def force_shutdown(self, *arg, **kwargs): pass
[docs] def send_stack_trace(self, *arg, **kwargs): pass