From 2373eaa829ec03d5ceb748ce5b6ceaa6c4de2220 Mon Sep 17 00:00:00 2001 From: John <43506685+Coniferish@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:53:47 -0400 Subject: [PATCH] fix typo: pipline>pipeline (#3498) fix typo: pipline>pipeline --- CHANGELOG.md | 2 +- unstructured/__version__.py | 2 +- unstructured/ingest/v2/cli/base/cmd.py | 2 +- unstructured/ingest/v2/cli/base/dest.py | 2 +- unstructured/ingest/v2/cli/base/src.py | 2 +- unstructured/ingest/v2/pipeline/pipeline.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 658f4d23f4..3c63314d1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.15.2-dev3 +## 0.15.2-dev4 ### Enhancements diff --git a/unstructured/__version__.py b/unstructured/__version__.py index 24b428a1eb..fac8b4352a 100644 --- a/unstructured/__version__.py +++ b/unstructured/__version__.py @@ -1 +1 @@ -__version__ = "0.15.2-dev3" # pragma: no cover +__version__ = "0.15.2-dev4" # pragma: no cover diff --git a/unstructured/ingest/v2/cli/base/cmd.py b/unstructured/ingest/v2/cli/base/cmd.py index 84d81f6070..0a5d5c1384 100644 --- a/unstructured/ingest/v2/cli/base/cmd.py +++ b/unstructured/ingest/v2/cli/base/cmd.py @@ -57,7 +57,7 @@ def add_options(self, cmd: CommandT, extras: list[Type[CliConfig]]) -> CommandT: raise ValueError(f"failed to set configs from {config.__name__}: {e}") return cmd - def get_pipline( + def get_pipeline( self, src: str, source_options: dict[str, Any], diff --git a/unstructured/ingest/v2/cli/base/dest.py b/unstructured/ingest/v2/cli/base/dest.py index 5369c0c193..b1703dcc86 100644 --- a/unstructured/ingest/v2/cli/base/dest.py +++ b/unstructured/ingest/v2/cli/base/dest.py @@ -26,7 +26,7 @@ def cmd(self, ctx: click.Context, **options) -> None: source_options: dict = ctx.parent.params if ctx.parent else {} conform_click_options(options) try: - pipeline = self.get_pipline( + pipeline = self.get_pipeline( src=source_cmd, source_options=source_options, dest=self.cmd_name, diff --git a/unstructured/ingest/v2/cli/base/src.py b/unstructured/ingest/v2/cli/base/src.py index f35d5b8e69..77aa9c00be 100644 --- a/unstructured/ingest/v2/cli/base/src.py +++ b/unstructured/ingest/v2/cli/base/src.py @@ -37,7 +37,7 @@ def cmd(self, ctx: click.Context, **options) -> None: conform_click_options(options) logger.setLevel(logging.DEBUG if options.get("verbose", False) else logging.INFO) try: - pipeline = self.get_pipline(src=self.cmd_name, source_options=options) + pipeline = self.get_pipeline(src=self.cmd_name, source_options=options) pipeline.run() except Exception as e: logger.error(f"failed to run source command {self.cmd_name}: {e}", exc_info=True) diff --git a/unstructured/ingest/v2/pipeline/pipeline.py b/unstructured/ingest/v2/pipeline/pipeline.py index 60edc9b526..a59346ae3a 100644 --- a/unstructured/ingest/v2/pipeline/pipeline.py +++ b/unstructured/ingest/v2/pipeline/pipeline.py @@ -132,7 +132,7 @@ def clean_results(self, results: Optional[list[Union[Any, list[Any]]]]) -> Optio def _run(self): logger.info( - f"Running local pipline: {self} with configs: " + f"Running local pipeline: {self} with configs: " f"{sterilize_dict(self.context.to_dict(redact_sensitive=True))}" ) if self.context.mp_supported: