mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-08 06:04:57 +03:00
Update project_run docstring
The docstring indicated that normal use of the function called DVC to determine if the function should be re-run, but that is not the case.
This commit is contained in:
parent
e75c3f56c6
commit
b5a0518b06
|
@ -53,10 +53,9 @@ def project_run(
|
||||||
dry: bool = False,
|
dry: bool = False,
|
||||||
capture: bool = False,
|
capture: bool = False,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Run a named script defined in the project.yml. If the script is part
|
"""Run a named script defined in the project.yml. If the script is a
|
||||||
of the default pipeline (defined in the "run" section), DVC is used to
|
command rather than a workflow, it is checked against the project lock file
|
||||||
execute the command, so it can determine whether to rerun it. It then
|
to see if it should be re-run.
|
||||||
calls into "exec" to execute it.
|
|
||||||
|
|
||||||
project_dir (Path): Path to project directory.
|
project_dir (Path): Path to project directory.
|
||||||
subcommand (str): Name of command to run.
|
subcommand (str): Name of command to run.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user