get_app_path
faststream.cli.utils.imports.get_app_path #
Get the application path.
PARAMETER | DESCRIPTION |
---|---|
app | The name of the application in the format "module:app_name". TYPE: |
RETURNS | DESCRIPTION |
---|---|
Tuple[Path, str] | Tuple[Path, str]: A tuple containing the path to the module and the name of the application. |
RAISES | DESCRIPTION |
---|---|
ValueError | If the given app is not in the format "module:app_name". |