[PR #109] [MERGED] Add python workflow client #127

Closed
opened 2026-02-16 02:16:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-py/pull/109
Author: @AstraBert
Created: 9/23/2025
Status: Merged
Merged: 10/10/2025
Merged by: @adrianlyjak

Base: mainHead: clelia/workflows-client


📝 Commits (10+)

  • 2120c0a wip: first attempt to workflow client
  • 16e01a9 Merge branch 'main' into clelia/workflows-client
  • b4bc1df chore: use openapi as a base for client
  • 8bb81c8 chore: implement events streaming the good ol way
  • beecc82 Revert "chore: implement events streaming the good ol way"
  • bc97f89 Revert "chore: use openapi as a base for client"
  • 62f136d chore: implement suggestions from first review
  • f95b057 Merge branch 'main' into clelia/workflows-client
  • 9f5bb03 Merge branch 'main' into clelia/workflows-client
  • c70cd9f chore: client refactor + tests

📊 Changes

16 files changed (+785 additions, -53 deletions)

View changed files

examples/client/base/workflow_client.py (+41 -0)
examples/client/base/workflow_server.py (+48 -0)
examples/client/human_in_the_loop/workflow_client_hitl.py (+43 -0)
examples/client/human_in_the_loop/workflow_server_hitl.py (+48 -0)
📝 pyproject.toml (+1 -0)
src/workflows/client/__init__.py (+3 -0)
src/workflows/client/client.py (+294 -0)
src/workflows/protocol/__init__.py (+90 -0)
📝 src/workflows/server/representation_utils.py (+25 -17)
📝 src/workflows/server/server.py (+39 -29)
tests/client/__init__.py (+0 -0)
tests/client/greeting_workflow.py (+35 -0)
tests/client/test_client.py (+106 -0)
📝 tests/server/test_handler_serialization.py (+6 -4)
📝 tests/server/test_utils.py (+0 -1)
📝 uv.lock (+6 -2)

📄 Description

Attempting the creation of a workflow client


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/workflows-py/pull/109 **Author:** [@AstraBert](https://github.com/AstraBert) **Created:** 9/23/2025 **Status:** ✅ Merged **Merged:** 10/10/2025 **Merged by:** [@adrianlyjak](https://github.com/adrianlyjak) **Base:** `main` ← **Head:** `clelia/workflows-client` --- ### 📝 Commits (10+) - [`2120c0a`](https://github.com/run-llama/workflows-py/commit/2120c0a46d3417206b7799e274d5447406c23e4f) wip: first attempt to workflow client - [`16e01a9`](https://github.com/run-llama/workflows-py/commit/16e01a92ff091a88f6ecc0d0ed4b5a0d30565066) Merge branch 'main' into clelia/workflows-client - [`b4bc1df`](https://github.com/run-llama/workflows-py/commit/b4bc1dfb66c2492ec15f04ec3782f30ce8832c1a) chore: use openapi as a base for client - [`8bb81c8`](https://github.com/run-llama/workflows-py/commit/8bb81c88b2e1524cc29b47f7b12eb2e11b8d5db0) chore: implement events streaming the good ol way - [`beecc82`](https://github.com/run-llama/workflows-py/commit/beecc820a367d3cb6fd57f33ed809c2e19eb8ed7) Revert "chore: implement events streaming the good ol way" - [`bc97f89`](https://github.com/run-llama/workflows-py/commit/bc97f89ad10fde452787b3948a5f0c1d4a603e68) Revert "chore: use openapi as a base for client" - [`62f136d`](https://github.com/run-llama/workflows-py/commit/62f136d08ec97a35141a21041c45e31099d51324) chore: implement suggestions from first review - [`f95b057`](https://github.com/run-llama/workflows-py/commit/f95b057996161df7e5e974b242169f7b8ab67fa4) Merge branch 'main' into clelia/workflows-client - [`9f5bb03`](https://github.com/run-llama/workflows-py/commit/9f5bb035385afca8dae6fbdc9006b286cde0d0d8) Merge branch 'main' into clelia/workflows-client - [`c70cd9f`](https://github.com/run-llama/workflows-py/commit/c70cd9fa5c836e60e5b44f31598c4f5ae5737c84) chore: client refactor + tests ### 📊 Changes **16 files changed** (+785 additions, -53 deletions) <details> <summary>View changed files</summary> ➕ `examples/client/base/workflow_client.py` (+41 -0) ➕ `examples/client/base/workflow_server.py` (+48 -0) ➕ `examples/client/human_in_the_loop/workflow_client_hitl.py` (+43 -0) ➕ `examples/client/human_in_the_loop/workflow_server_hitl.py` (+48 -0) 📝 `pyproject.toml` (+1 -0) ➕ `src/workflows/client/__init__.py` (+3 -0) ➕ `src/workflows/client/client.py` (+294 -0) ➕ `src/workflows/protocol/__init__.py` (+90 -0) 📝 `src/workflows/server/representation_utils.py` (+25 -17) 📝 `src/workflows/server/server.py` (+39 -29) ➕ `tests/client/__init__.py` (+0 -0) ➕ `tests/client/greeting_workflow.py` (+35 -0) ➕ `tests/client/test_client.py` (+106 -0) 📝 `tests/server/test_handler_serialization.py` (+6 -4) 📝 `tests/server/test_utils.py` (+0 -1) 📝 `uv.lock` (+6 -2) </details> ### 📄 Description Attempting the creation of a workflow client --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 02:16:40 -05:00
yindo closed this issue 2026-02-16 02:16:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-py#127