From 0676540b8fd3eae416ee97928a7354a08e5441a5 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sun, 10 Sep 2023 22:51:55 +0900 Subject: [PATCH] fix typo in event_stream.py (#363) # Description splited -> splitted # All Promptflow Contribution checklist: - [x] **The pull request does not introduce [breaking changes]** - [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [x] **I have read the [contribution guidelines](../CONTRIBUTING.md).** ## General Guidelines and Best Practices - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. --- .../how-to-enable-streaming-mode/scripts/event_stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/media/how-to-guides/how-to-enable-streaming-mode/scripts/event_stream.py b/docs/media/how-to-guides/how-to-enable-streaming-mode/scripts/event_stream.py index 5f9b3866a39..cfa45ae6198 100644 --- a/docs/media/how-to-guides/how-to-enable-streaming-mode/scripts/event_stream.py +++ b/docs/media/how-to-guides/how-to-enable-streaming-mode/scripts/event_stream.py @@ -44,7 +44,7 @@ def append_line(self, line): parts = line.split(':', maxsplit=1) if len(parts) < 2: - raise ValueError("Bad format: Each line must could be splited into two parts by ':'.") + raise ValueError("Bad format: Each line must could be splitted into two parts by ':'.") prefix = parts[0] data = parts[1].strip()