async def METHOD_NAME(
    tmpconfdir: str,
    reg_addr: tuple[str, int] | None = None,
    loglevel: str = 'warning',
    debug_mode: bool = False,
    **kwargs,
) -> tuple[
    str,
    int,
    tractor.Portal