  from typing import Optional, Dict, Any
  from pathlib import Path
  from wasabi import msg
  import typer
  import logging
  import sys
 
</s> remove     config_path: Path,
    output_path: Optional[Path] = None,
 </s> add     config_path: Union[str, Path],
    output_path: Optional[Union[str, Path]] = None,
from typing import Optional, Dict, Any, Union
from typing import Optional, Dict, Any, Union
  from pathlib import Path
  from wasabi import msg
  import typer
  import logging
  import sys
replace keep keep keep keep keep
 Add docs section for spacy.cli.train.train (#9545)

* Add section for spacy.cli.train.train

* Add link from training page to train function

* Ensure path in train helper

* Update docs

Co-authored-by: Ines Montani <ines@ines.io> 
spacy/cli/train.py