raito.core.routers.parser module

class raito.core.routers.parser.RouterParser[исходный код]

Базовые классы: object

Parses routers from Python files.

classmethod extract_router(file_path)[исходный код]

Extract router from a Python file.

Параметры:

file_path (StrOrPath) – Path to the Python file

Результат:

Extracted router instance

Тип результата:

Router