defget_app_path(app:str)->Tuple[Path,str]:"""Get the application path."""if":"notinapp:raiseSetupError(f"`{app}` is not a FastStream")module,app_name=app.split(":",2)mod_path=Path.cwd()foriinmodule.split("."):mod_path=mod_path/ireturnmod_path,app_name