Source code for datumaro.util.telemetry_stub
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
from datumaro.util.deprecation import deprecated
[docs]
@deprecated(deprecated_version="1.11", removed_version="1.12")
class Telemetry(object):
"""
A stub for the Telemetry class, which is used when the Telemetry class
is not available.
"""
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