ytilities.system

Copyright (c) 2023 Anthony Mugendi

This software is released under the MIT License. https://opensource.org/licenses/MIT

Module Contents

Functions

trace_caller(→ Union[None, tuple])

Log the method that made the call

importing_script()

ytilities.system.trace_caller(return_trace: bool = False) None | tuple

Log the method that made the call

Parameters:

return_trace (bool, optional) – if true, the trace details are returned as a tuple. Defaults to False.

Returns:

prints the trace details or outputs the same as a tuple

Return type:

(None, tuple)

ytilities.system.importing_script()