benchmarkstt.api.jsonrpc module¶
Make benchmarkstt available through a rudimentary JSON-RPC interface
Warning
Only supported for Python versions 3.6 and above!
-
class
benchmarkstt.api.jsonrpc.
MagicMethods
[source]¶ Bases:
object
-
static
is_safe_path
(path)[source]¶ Determines whether the file or path is within the current working directory :param str|PathLike path: :return: bool
-
load
(name, module)[source]¶ Load all possible callbacks for a given module
Parameters: - name --
- module (Module) --
-
possible_path_args
= ['file', 'path']¶
-
static