Skip to content

Update mossaic/mossaic/nlp_engineering/steps/cleaner.py,...

Update mossaic/mossaic/nlp_engineering/steps/cleaner.py, mossaic/mossaic/nlp_engineering/pipeline.py

Removed "|" notation in type hints (signifying "or" condition with type hints) because it wasn't implemented until Py3.10. Instead, imported Union from typing and implemented as necessary.

i.e. str | dict ...becomes... Union[str, dict]

Merge request reports