def METHOD_NAME(server_temp_directory: str) -> Generator[str, None, None]:
    base_url = (
        f"{_SESSION_SERVER_SCHEME}{_SESSION_SERVER_HOST}:{_OT3_SESSION_SERVER_PORT}"
    )
    with DevServer(
        port=_OT3_SESSION_SERVER_PORT,
        is_ot3=True,
        ot_api_config_dir=Path(server_temp_directory),
    ) as dev_server:
        dev_server.start()
        _wait_until_ready(base_url)
        yield base_url