# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.
import importlib import inspect import pathlib
from base_python_support import BasePythonSupport
def import_support_class(path): """This function returns a BasePythonSupport subclass from the given path.
:param str path: The path pointing to the custom support subclass.
:return: A subclass of BasePythonSupport. """
file = pathlib.Path(path)
ifnot file.exists(): raise Exception(f"The support_class path {path} does not exist.")
members = inspect.getmembers(
module, lambda c: inspect.isclass(c) and c != BasePythonSupport and issubclass(c, BasePythonSupport),
)
ifnot members: raise Exception(
f"The path {path} was found but it was not a valid support_class."
)
return members[0][-1]
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.16Bemerkung:
(vorverarbeitet am 2026-06-05)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.